Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Nov 29, 2024
1 parent 9a7ef4b commit ab3ebe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish-gpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
buildid=$(jq -r '.branches.public.buildid' depot.json)
echo "REMOTE_BUILDID=$buildid" >> $GITHUB_ENV
if [ "${{ matrix.tag }}" == "latest" ]; then
echo "TAG=${REMOTE_BUILDID}" >> $GITHUB_ENV
echo "TAG=$buildid" >> $GITHUB_ENV
else
echo "TAG=${REMOTE_BUILDID}-${{ matrix.tag }}" >> $GITHUB_ENV
echo "TAG=$buildid-${{ matrix.tag }}" >> $GITHUB_ENV
fi
- name: Check if tag exists
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
buildid=$(jq -r '.branches.public.buildid' depot.json)
echo "REMOTE_BUILDID=$buildid" >> $GITHUB_ENV
if [ "${{ matrix.tag }}" == "latest" ]; then
echo "TAG=${REMOTE_BUILDID}" >> $GITHUB_ENV
echo "TAG=$buildid" >> $GITHUB_ENV
else
echo "TAG=${REMOTE_BUILDID}-${{ matrix.tag }}" >> $GITHUB_ENV
echo "TAG=$buildid-${{ matrix.tag }}" >> $GITHUB_ENV
fi
- name: Check if tag exists
Expand Down

0 comments on commit ab3ebe8

Please sign in to comment.