Skip to content

Commit 7f4d011

Browse files
committed
chore: Fix workflow syntax
1 parent 77dd50b commit 7f4d011

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-image.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,10 @@ jobs:
8080
- name: Test tools image
8181
if: matrix.dockerfile == 'Dockerfile.tools' && github.event_name != 'schedule'
8282
env:
83-
IMAGE_TAG: ${{ steps.meta.outputs.tags.split('\n')[0] }}
83+
IMAGE_TAGS: ${{ steps.meta.outputs.tags }}
8484
run: |
85+
IMAGE_TAG=$(echo "$IMAGE_TAGS" | head -n1)
8586
echo "Testing tools image: $IMAGE_TAG"
8687
docker run --rm "$IMAGE_TAG" terraform --version
8788
docker run --rm "$IMAGE_TAG" terraform-docs --version
8889
docker run --rm "$IMAGE_TAG" tflint --version
89-
secrets: |
90-
"github_token=${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)