From 6ad630d83b894771c417fc3ef49712df1c6e7e4c Mon Sep 17 00:00:00 2001 From: Joris Bertomeu Date: Mon, 30 Sep 2024 12:13:45 +0200 Subject: [PATCH] Change from docker.io tag to custom registry tag --- .gitea/workflows/ci.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 60e4a68..ea86b71 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -6,6 +6,10 @@ on: jobs: docker: runs-on: ubuntu-latest + strategy: + matrix: + platform: [linux/amd64, linux/arm64] + steps: - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -23,6 +27,8 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.platform }} push: true - tags: ${{ vars.DOCKER_REGISTRY_URL }}/bertomlab/crawlflix/front:latest \ No newline at end of file + tags: | + 192.168.1.230:5000/bertomlab/crawlflix/front:latest + 192.168.1.230:5000/bertomlab/crawlflix/front:${{ matrix.platform }} \ No newline at end of file