1
1
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-11-22 02:31:57 +01:00

update docker workflow

This commit is contained in:
vx3r 2021-04-11 11:24:49 +02:00
parent b0702c01d5
commit 1c273f8f73

@ -34,6 +34,7 @@ jobs:
if [ "${{ github.event_name }}" = "push" ]; then
TAGS="$TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"
fi
TAGS="$TAGS,${DOCKER_IMAGE}:latest"
echo ::set-output name=version::${VERSION}
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
@ -63,4 +64,4 @@ jobs:
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.revision=${{ github.sha }}
build-args: |
COMMIT=${{ steps.prep.outputs.version }}
COMMIT=${{ steps.prep.outputs.sha_short }}