Skip to content

Commit

Permalink
Store TAG in GITHUB_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
marrts committed Apr 15, 2024
1 parent 244703d commit 84c272d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84c272d

Please sign in to comment.