Skip to content

Commit

Permalink
Add distro to branch name for docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marrts committed Apr 5, 2024
1 parent 72763c4 commit dd4bbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
- name: Set TAG variable
id: set_tag
run: |
if [[ "${{ steps.meta.outputs.version }}" == "main" ]] || [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo "TAG=master" >> $GITHUB_ENV
if [[ "${{ steps.meta.outputs.version }}" == "${{ matrix.distro }}-main" ]] || [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo "TAG=${{ matrix.distro }}-master" >> $GITHUB_ENV
else
echo "TAG=${{ steps.meta.outputs.version }}" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit dd4bbe0

Please sign in to comment.