Skip to content

Commit

Permalink
feat: push pr build image to registry
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Nov 25, 2024
1 parent e2f1b69 commit 6d8f3d7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
- name: Debug
run: |
echo "${{ steps.pr_info.outputs.PR_NUM }}"
# - name: Build and push (Dockerhub)
# uses: docker/build-push-action@v2
# with:
# file: Dockerfile
# push: true
# build-args: |
# VERSION=${{ steps.get_pr_info.outputs.PR_NUM }}
# tags: |
# civo/csi:${{ steps.get_pr_info.outputs.tag }}
- name: Build and push (Dockerhub)
uses: docker/build-push-action@v2
with:
file: Dockerfile
push: true
build-args: |
VERSION=${{ steps.get_pr_info.outputs.PR_NUM }}
tags: |
civo/csi:${{ steps.get_pr_info.outputs.PR_NUM }}
release-build:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6d8f3d7

Please sign in to comment.