diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 9fb0006b..5e1757b4 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -67,12 +67,12 @@ jobs: with: context: . load: true - tags: "${{ steps.meta.outputs.tags[0] }}-test" + tags: "${{ fromJSON(steps.meta.outputs.json).tags[0] }}-test" - name: Test Docker image run: | cd tests - docker run --rm "${{ steps.meta.outputs.tags[0] }}-test" + docker run --rm "${{ fromJSON(steps.meta.outputs.json).tags[0] }}-test" # This step uses the docker/build-push-action action to build the image, based on your repository's Dockerfile. # It uses the context parameter to define the build's context as the set of files located in the specified path.