Skip to content

Commit 77dd50b

Browse files
committed
fix: Workflow syntax
1 parent 3940035 commit 77dd50b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build-image.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ permissions:
1515

1616
env:
1717
REGISTRY: ghcr.io
18-
IMAGE_TAG: ${{ steps.meta.outputs.tags && steps.meta.outputs.tags.split('\n')[0]
19-
}}
2018

2119
jobs:
2220
docker:
@@ -82,7 +80,7 @@ jobs:
8280
- name: Test tools image
8381
if: matrix.dockerfile == 'Dockerfile.tools' && github.event_name != 'schedule'
8482
env:
85-
IMAGE_TAG: ${{ steps.meta.outputs.tags }}
83+
IMAGE_TAG: ${{ steps.meta.outputs.tags.split('\n')[0] }}
8684
run: |
8785
echo "Testing tools image: $IMAGE_TAG"
8886
docker run --rm "$IMAGE_TAG" terraform --version

0 commit comments

Comments
 (0)