Skip to content

Commit 3aae7fe

Browse files
use to try to fix the tags from ARG from containerfiles
Signed-off-by: Nicolas-Peiffer <[email protected]>
1 parent 7ec573a commit 3aae7fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/base-container-build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
run: |
3535
# Extract values from the Containerfile
3636
GOLANG_VERSION=$(grep -m1 'ARG GOLANG_VERSION=' $CONTAINERFILE_NAME | cut -d'=' -f2)
37-
echo "GOLANG_VERSION=${GOLANG_VERSION}" >> $GITHUB_ENV
37+
echo "GOLANG_VERSION=${GOLANG_VERSION}" >> $GITHUB_OUTPUT
3838
GORELEASER_VERSION=$(grep -m1 'ARG GORELEASER_VERSION=' $CONTAINERFILE_NAME | cut -d'=' -f2)
39-
echo "GORELEASER_VERSION=${GORELEASER_VERSION}" >> $GITHUB_ENV
39+
echo "GORELEASER_VERSION=${GORELEASER_VERSION}" >> $GITHUB_OUTPUT
4040
4141
- name: Container metadata and tags
4242
uses: docker/metadata-action@v5

0 commit comments

Comments
 (0)