deploy: new less-deterministic tag

This commit is contained in:
Wonderfall 2021-05-09 00:30:39 +02:00 committed by GitHub
parent bd5c77d43f
commit bdda708972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ jobs:
docker build \
-t ghcr.io/wonderfall/mastodon \
-t ghcr.io/wonderfall/mastodon:$(grep -oP '(?<=MASTODON_VERSION=).*' Dockerfile | head -c8) \
-t ghcr.io/wonderfall/mastodon:$(grep -oP '(?<=MASTODON_VERSION=).*' Dockerfile | head -c3) \
.
- name: Run Trivy vulnerability scanner
@ -46,3 +47,4 @@ jobs:
run: |
docker push ghcr.io/wonderfall/mastodon
docker push ghcr.io/wonderfall/mastodon:$(grep -oP '(?<=MASTODON_VERSION=).*' Dockerfile | head -c8)
docker push ghcr.io/wonderfall/mastodon:$(grep -oP '(?<=MASTODON_VERSION=).*' Dockerfile | head -c3)