Skip to content

Commit 9e35ac3

Browse files
committed
ci: fix typo in push tag
1 parent c4bbfa1 commit 9e35ac3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ jobs:
6969
if: startsWith(github.ref, 'refs/heads/main')
7070
id: extract_version
7171
run: node -pe "'::set-output name=version::' + require('./package.json').version"
72-
- name: Push Version Tag Tag
73-
if: startsWith(github.ref, 'refs/heads/main')
74-
run: |
75-
docker tag repo ${{ steps.tagname.outputs.repo }}:v{{ steps.extract_version.outputs.version }}
76-
docker push ${{ steps.tagname.outputs.repo }}:v{{ steps.extract_version.outputs.version }}
7772
- name: Trigger Webhook
7873
run: |
7974
# trigger a webhook update
8075
curl -H "Authorization: Bearer ${{ secrets.DELPHI_DEPLOY_WEBHOOK_TOKEN }}" \
8176
-X POST ${{ secrets.DELPHI_DEPLOY_WEBHOOK_URL }} \
8277
-H "Content-Type: application/x-www-form-urlencoded" \
8378
-d "repository=${{ steps.tagname.outputs.repo }}&tag=${{ steps.tagname.outputs.tag }}"
79+
- name: Push Version Tag Tag
80+
if: startsWith(github.ref, 'refs/heads/main')
81+
run: |
82+
docker tag repo ${{ steps.tagname.outputs.repo }}:v${{ steps.extract_version.outputs.version }}
83+
docker push ${{ steps.tagname.outputs.repo }}:v${{ steps.extract_version.outputs.version }}

0 commit comments

Comments
 (0)