From fb6b15b8ecc0b352e8d5fc8002a7e4392e8b4bf6 Mon Sep 17 00:00:00 2001 From: uzurka Date: Mon, 28 Aug 2023 18:43:02 +0200 Subject: [PATCH] Changed: Added Gitea Actions --- .gitea/workflows/docker-build.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 64e0fe8..ab60ba4 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -33,12 +33,21 @@ jobs: username: uzurka password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build Docker image + - name: Build AMD64 Docker image run: | docker buildx build \ - --file Dockerfile \ - --tag uzurka/freebox-prometheus:latest \ - --tag uzurka/freebox-prometheus:${{ github.sha }} \ - --platform linux/amd64,linux/arm64,linux/arm/v7 \ + --file Dockerfile-amd64 \ + --tag uzurka/freebox-prometheus:amd64 \ + --tag uzurka/freebox-prometheus:amd64-${{ github.sha }} \ + --platform linux/amd64 \ + --push \ + . + - name: Build ARM Docker image + run: | + docker buildx build \ + --file Dockerfile-arm \ + --tag uzurka/freebox-prometheus:arm \ + --tag uzurka/freebox-prometheus:arm-${{ github.sha }} \ + --platform linux/arm64,linux/arm/v7 \ --push \ . \ No newline at end of file