From b609dd90fb670ad047884535ef661ada28474372 Mon Sep 17 00:00:00 2001 From: Selast Lambou Date: Fri, 2 Feb 2024 09:20:56 +0100 Subject: [PATCH] fix: ci job for building the docker --- .github/workflows/build-and-deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml index ca9943f..f04bcd8 100644 --- a/.github/workflows/build-and-deploy.yaml +++ b/.github/workflows/build-and-deploy.yaml @@ -21,16 +21,16 @@ jobs: - name: Checkout Repository uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build Docker Image - run: docker build -t your-docker-image-name . - - name: Log in to GitHub Container Registry uses: docker/login-action@v3 with: - registry: ghcr.io + registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -44,7 +44,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: linux/arm/v6,linux/arm/v7,linux/amd64,linux/arm64 file: ./Dockerfile push: true tags: ${{ steps.meta.outputs.tags }}