mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 02:11:36 +00:00
update actions (#393)
This commit is contained in:
parent
1490f6b707
commit
db81583884
6
.github/workflows/docker-release.yml
vendored
6
.github/workflows/docker-release.yml
vendored
@ -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 . \
|
||||||
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Build and push Docker image
|
name: Docker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user