From eae8ec4c1ea1ea63ec453221b4a339b99022edc9 Mon Sep 17 00:00:00 2001 From: Julian Strobl Date: Mon, 13 Mar 2023 10:55:17 +0100 Subject: [PATCH] [ci] Switch to planetmint-aio Docker image Signed-off-by: Julian Strobl --- .github/workflows/CI.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c56451a..bbb3392 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -171,6 +171,22 @@ jobs: labels: ${{ steps.semver.outputs.labels }} env: CRYPTOGRAPHY_DONT_BUILD_RUST: 1 + - name: Docker meta AIO + id: semver-aio # you'll use this in the next step + uses: docker/metadata-action@v3 + with: + # list of Docker images to use as base name for tags + images: | + ghcr.io/planetmint/planetmint-aio + # Docker tags based on the following events/attributes + tags: | + type=schedule + type=ref,event=branch + type=ref,event=pr + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} + type=sha - name: Build and push AIO uses: docker/build-push-action@v2 with: @@ -178,7 +194,7 @@ jobs: file: Dockerfile-all-in-one platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.semver.outputs.tags }}-aio - labels: ${{ steps.semver.outputs.labels }}-aio + tags: ${{ steps.semver-aio.outputs.tags }}-aio + labels: ${{ steps.semver-aio.outputs.labels }}-aio env: CRYPTOGRAPHY_DONT_BUILD_RUST: 1