Skip to content

Commit

Permalink
cd: push
Browse files Browse the repository at this point in the history
  • Loading branch information
chaunsin committed Nov 21, 2024
1 parent 8e241a6 commit 2e070a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker images
id: push
if: startsWith(github.ref, 'refs/tags/v')
uses: docker/build-push-action@v6
with:
Expand All @@ -82,14 +83,14 @@ jobs:
GOPROXY=https://proxy.golang.org
- name: Debug Build and push Docker images
id: push
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled == 'true' }}
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
github-token: ${{ secrets.GITHUB_TOKEN }}
build-args: |
BUILD_TIME=${{ env.BUILD_TIME }}
VERSION=${{ env.VERSION }}
Expand Down

0 comments on commit 2e070a1

Please sign in to comment.