Skip to content

Commit e06842d

Browse files
ci: on master push pipeline (#322)
1 parent ed02461 commit e06842d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/gcr_push_workflow.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646
if: ${{ inputs.branch_name == 'refs/heads/master' || (startsWith(inputs.branch_name, 'refs/tags') && contains(inputs.branch_name, 'patch')) }}
4747
run: |
4848
docker build . -t ${{ inputs.image_name }}:stable -f ${{ inputs.dockerfile }}
49-
docker tag ${{ inputs.image_name }}:stable ${{ inputs.image_name }}:${{ github.ref_name }}:stable
50-
51-
docker push ${{ inputs.image_name }}:${{ github.ref_name }}:stable
49+
docker tag ${{ inputs.image_name }}:stable ${{ inputs.image_name }}:${{ github.ref_name }}
50+
docker push ${{ inputs.image_name }}:${{ github.ref_name }}
5251
docker push ${{ inputs.image_name }}:stable

0 commit comments

Comments
 (0)