Skip to content

Commit 46ed4a9

Browse files
committed
ci: fix yaml syntax error with image tag parsing
1 parent 69f1a6d commit 46ed4a9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@ jobs:
7777
with:
7878
images: ghcr.io/${{ github.repository }}/ci
7979
tags: |
80-
type=ref,event=branch
81-
type=ref,event=pr
8280
type=sha,prefix={{branch}}-
83-
type=raw,value={{branch}}-{{workflow}}-{{run_id}}
8481
8582
- name: Build and push CI image
8683
id: build
@@ -129,7 +126,7 @@ jobs:
129126
if: needs.check-changes.outputs.source-changed == 'true'
130127
timeout-minutes: 30
131128
container:
132-
image: ${{ fromJSON(needs.build-ci-image.outputs.image-tag)[0] }}
129+
image: ${{ needs.build-ci-image.outputs.image-tag }}
133130
credentials:
134131
username: ${{ github.actor }}
135132
password: ${{ secrets.GITHUB_TOKEN }}
@@ -162,7 +159,7 @@ jobs:
162159
if: always() && (needs.check-changes.outputs.source-changed == 'true' || needs.check-changes.outputs.docs-changed == 'true')
163160
timeout-minutes: 15
164161
container:
165-
image: ${{ fromJSON(needs.build-ci-image.outputs.image-tag)[0] }}
162+
image: ${{ needs.build-ci-image.outputs.image-tag }}
166163
credentials:
167164
username: ${{ github.actor }}
168165
password: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)