mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-11-04 17:31:17 +00:00
update docker workflow
This commit is contained in:
parent
b0702c01d5
commit
1c273f8f73
3
.github/workflows/dockerimage.yml
vendored
3
.github/workflows/dockerimage.yml
vendored
@ -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 }}
|
Loading…
Reference in New Issue
Block a user