We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ba89e3 commit e2c269cCopy full SHA for e2c269c
.github/workflows/build.yml
@@ -46,10 +46,7 @@ jobs:
46
type=raw,value=latest,enable={{is_default_branch}}
47
48
- name: Fetch the sha-based image tag
49
- run: >
50
- echo $DOCKER_METADATA_OUTPUT_TAGS
51
- | grep -m1 ':sha-'
52
- | sed 's/^/DOCKER_APP_IMAGE=/' >> $GITHUB_ENV
+ run: echo "$DOCKER_METADATA_OUTPUT_TAGS" | grep -m1 ':sha-' | xargs | sed 's/^/DOCKER_APP_IMAGE=/' >> $GITHUB_ENV
53
54
- name: Build the image
55
id: build
@@ -61,7 +58,6 @@ jobs:
61
58
tags: ${{ steps.meta.outputs.tags }}
62
59
provenance: true
63
60
cache-from: type=registry,ref=${{ env.DOCKER_APP_IMAGE }}
64
- cache-to: type=inline
65
66
- name: Run the tests
67
run: bin/test
0 commit comments