Skip to content

Commit c3411f2

Browse files
committed
gha/.build: derive GIT_TAG from PKG_REF
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent 4721b85 commit c3411f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/.build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ jobs:
216216
echo "${l?}" >> $GITHUB_ENV
217217
done
218218
if [ "${{ github.event_name }}" = "schedule" ]; then
219-
echo "GIT_TAG=nightly/${{ inputs.name }}/$VERSION" >> $GITHUB_ENV
219+
echo "GIT_TAG=nightly/${{ inputs.name }}/$PKG_REF" >> $GITHUB_ENV
220220
else
221-
echo "GIT_TAG=${{ inputs.name }}/$VERSION" >> $GITHUB_ENV
221+
echo "GIT_TAG=${{ inputs.name }}/$PKG_REF" >> $GITHUB_ENV
222222
fi
223223
-
224224
name: Docker meta

0 commit comments

Comments
 (0)