Refactor ci workflow
Some checks failed
ci / Image build (push) Failing after 21s
ci / Deployment (push) Failing after 3s

This commit is contained in:
Joris Bertomeu
2024-10-01 11:25:33 +02:00
parent 04ec7234d0
commit 341e6bc077

View File

@@ -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 }}