update actions (#393)

This commit is contained in:
Saeed Vaziry 2024-12-14 17:31:55 +01:00 committed by GitHub
parent 1490f6b707
commit db81583884
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Build and push Docker image name: Docker Release
on: on:
release: release:
@ -23,7 +23,7 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image - name: Build and push to the release tag
run: | run: |
docker buildx build . \ docker buildx build . \
-f docker/Dockerfile \ -f docker/Dockerfile \
@ -33,7 +33,7 @@ jobs:
--no-cache \ --no-cache \
--push --push
- name: Build and push latest tag - name: Build and push to the latest tag
if: startsWith(github.event.release.target_commitish, '2.x') if: startsWith(github.event.release.target_commitish, '2.x')
run: | run: |
docker buildx build . \ docker buildx build . \

View File

@ -1,4 +1,4 @@
name: Build and push Docker image name: Docker
on: on:
push: push: