Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbellini committed Nov 9, 2023
1 parent 81a3d14 commit 91c02d2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
shell: bash
run: echo "TAG_NAME=$(echo ${GITHUB_REF#refs/tags/})" >> $GITHUB_ENV

- name: Build and push Docker dev image
uses: docker/build-push-action@v3
with:
push: true
build-args: |
dev_build=true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-dev

- name: Build and push Docker image latest
uses: docker/build-push-action@v3
with:
Expand All @@ -53,13 +61,6 @@ jobs:
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
if: github.event_name == 'push'

- name: Build and push Docker dev image
uses: docker/build-push-action@v3
with:
push: true
build-args: |
dev_build=true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-dev

rancher-upgrade:

Expand Down

0 comments on commit 91c02d2

Please sign in to comment.