mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2026-02-04 19:04:12 +02:00
19 lines
423 B
YAML
19 lines
423 B
YAML
name: Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build the Docker image
|
|
run: docker login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} && docker build . --file Dockerfile --tag ghcr.io/yaflay/yaflay_ru:$(date +%s) && docker push yaflay_ru:$(date +%s)
|