mirror of https://github.com/CIRCL/lookyloo
chg: Cleanup docker publish action
parent
d18f5f4f88
commit
bc6df900c4
|
@ -14,7 +14,6 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# TODO: Change variable to your image's name.
|
|
||||||
IMAGE_NAME: lookyloo
|
IMAGE_NAME: lookyloo
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -67,7 +66,7 @@ jobs:
|
||||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
|
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
|
||||||
|
|
||||||
# Use Docker `latest` tag convention
|
# Use Docker `latest` tag convention
|
||||||
[ "$VERSION" == "master" ] && VERSION=latest
|
[ "$VERSION" == "main" ] && VERSION=latest
|
||||||
|
|
||||||
echo IMAGE_ID=$IMAGE_ID
|
echo IMAGE_ID=$IMAGE_ID
|
||||||
echo VERSION=$VERSION
|
echo VERSION=$VERSION
|
||||||
|
|
Loading…
Reference in New Issue