Skip to content

Commit

Permalink
fix RELEASE_VERSION in docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Ziming Zhang <zziming@vmware.com>
  • Loading branch information
bitsf committed Sep 28, 2021
1 parent 7e1acc4 commit 8fc120d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
mkdir ./target
echo -n "dev_${GITHUB_REF##refs/*/}" > ./target/TAG_NAME
make dist/harbor-operator_linux_amd64/manager GIT_COMMIT=${{ github.sha }}
make dist/harbor-operator_linux_amd64/manager GIT_COMMIT=${{ github.sha }} RELEASE_VERSION=`cat ./target/TAG_NAME`
- name: Docker Build & Push to Docker Hub
uses: opspresso/action-docker@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
mkdir ./target
echo -n "${GITHUB_REF##refs/*/}" > ./target/TAG_NAME
make dist/harbor-operator_linux_amd64/manager GIT_COMMIT=${{ github.sha }}
make dist/harbor-operator_linux_amd64/manager GIT_COMMIT=${{ github.sha }} RELEASE_VERSION=`cat ./target/TAG_NAME`
- name: Docker Build & Push to Docker Hub
uses: opspresso/action-docker@master
with:
Expand Down

0 comments on commit 8fc120d

Please sign in to comment.