From 1c0c00c01bc717671fe6a34f7c7c0d0b36b6c347 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 22 May 2022 00:18:48 +0200 Subject: [PATCH] more ci --- .github/workflows/docker.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e9f513e..e733d7b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,7 +34,9 @@ jobs: context: ./api platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:api + tags: | + ghcr.io/janderedev/automod-api:latest + ghcr.io/janderedev/automod-api:$(git rev-parse --short "$GITHUB_SHA") publish_web: runs-on: ubuntu-latest @@ -61,7 +63,9 @@ jobs: context: ./web platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:web + tags: | + ghcr.io/janderedev/automod-web:latest + ghcr.io/janderedev/automod-web:$(git rev-parse --short "$GITHUB_SHA") publish_bridge: runs-on: ubuntu-latest @@ -88,7 +92,9 @@ jobs: context: ./bridge platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:bridge + tags: | + ghcr.io/janderedev/automod-bridge:latest + ghcr.io/janderedev/automod-bridge:$(git rev-parse --short "$GITHUB_SHA") publish_bot: runs-on: ubuntu-latest @@ -115,4 +121,6 @@ jobs: context: ./bot platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:bot \ No newline at end of file + tags: | + ghcr.io/janderedev/automod-bot:latest + ghcr.io/janderedev/automod-bot:$(git rev-parse --short "$GITHUB_SHA")