diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/docker-image.yml | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c26a12b..f6c074c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -3,16 +3,21 @@ name: Docker Image CI on: push: branches: [ "stable" ] - pull_request: - branches: [ "stable" ] jobs: - - build: - + deploy: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag dlap:$(date +%s) + # No changes + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: alee14498/dlap:latest |
