Skip to content

Commit dcf75fe

Browse files
committed
Fixed tag and build args
1 parent c972997 commit dcf75fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ jobs:
104104
uses: docker/build-push-action@v2
105105
with:
106106
push: true
107-
build-args: VERSION=0.1.${{ github.run_number }}-${BRANCH_NAME}
108-
tags: octopussamples/randomquotesjava:0.1.${{ github.run_number }}-${BRANCH_NAME}
107+
build-args: VERSION=0.1.${{ github.run_number }}-${{ env.BRANCH_NAME }}
108+
tags: octopussamples/randomquotesjava:0.1.${{ github.run_number }}-${{ env.BRANCH_NAME }}
109109

110110
- name: Branch build Docker build info
111111
if: github.ref != 'refs/heads/master'

0 commit comments

Comments
 (0)