From 84c272dacc1c09bd00d9c631e1d66007bd3d1129 Mon Sep 17 00:00:00 2001 From: Tyler Marr Date: Mon, 15 Apr 2024 16:56:42 -0500 Subject: [PATCH] Store TAG in GITHUB_ENV --- .github/workflows/docker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a22e75d9..4728775e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -64,6 +64,8 @@ jobs: TAG="${{ steps.meta.outputs.tags }}" # Replace all occurrences of matrix.distro with matrix.os in the generated tags. e.g. humble->jammy TAG="${TAG//${{ matrix.distro }}/${{ matrix.os }}}" + # Export TAG to the environment variable for use in subsequent steps + echo "TAG=$TAG" >> $GITHUB_ENV - name: Build and push Docker image uses: docker/build-push-action@v5