Skip to content

Commit aa9554a

Browse files
committed
fix k8s update action
1 parent ece201b commit aa9554a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-container.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
ghcr_username: ${{ github.repository_owner }}
3939
ghcr_password: ${{ secrets.GITHUB_TOKEN }}
4040
- name: Update deployed image
41-
if: steps.find-tag-names.outputs.latest
42-
uses: metacpan/metacpan-actions/update-deployed-tag:master
41+
if: ${{ fromJSON(steps.build-push.outputs.tag-fq).latest }}
42+
uses: metacpan/metacpan-actions/update-deployed-tag@master
4343
with:
4444
token: ${{ steps.app-token.outputs.token }}
4545
app: web
4646
environment: prod
47-
base-tag: ${{ steps.find-tag-names.outputs.latest }}
48-
tag: ${{ steps.find-tag-names.outputs.sha }}
47+
base-tag: ${{ fromJSON(steps.build-push.outputs.tag-fq).latest }}
48+
tag: ${{ fromJSON(steps.build-push.outputs.tag-fq).sha }}

0 commit comments

Comments
 (0)