From 341e6bc077a53489fd1c7d4a032f1fb264aff0c2 Mon Sep 17 00:00:00 2001 From: Joris Bertomeu Date: Tue, 1 Oct 2024 11:25:33 +0200 Subject: [PATCH] Refactor ci workflow --- .gitea/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 5a04fe4..437894c 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -7,7 +7,7 @@ on: env: REGISTRY: ${{ vars.DOCKER_REGISTRY_URL }} IMAGE_NAME: bertomlab/crawlflix-front - IMAGE_TAG: ${{ github.sha }} + IMAGE_TAG: ${{ github.sha::7 }} CONTAINER_NAME: ${{ vars.CONTAINER_NAME }} jobs: @@ -34,7 +34,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 push: true tags: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}