Skip to content

Commit e2c269c

Browse files
fixes
1 parent 9ba89e3 commit e2c269c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ jobs:
4646
type=raw,value=latest,enable={{is_default_branch}}
4747
4848
- 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
49+
run: echo "$DOCKER_METADATA_OUTPUT_TAGS" | grep -m1 ':sha-' | xargs | sed 's/^/DOCKER_APP_IMAGE=/' >> $GITHUB_ENV
5350

5451
- name: Build the image
5552
id: build
@@ -61,7 +58,6 @@ jobs:
6158
tags: ${{ steps.meta.outputs.tags }}
6259
provenance: true
6360
cache-from: type=registry,ref=${{ env.DOCKER_APP_IMAGE }}
64-
cache-to: type=inline
6561

6662
- name: Run the tests
6763
run: bin/test

0 commit comments

Comments
 (0)