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: env:
REGISTRY: ${{ vars.DOCKER_REGISTRY_URL }} REGISTRY: ${{ vars.DOCKER_REGISTRY_URL }}
IMAGE_NAME: bertomlab/crawlflix-front IMAGE_NAME: bertomlab/crawlflix-front
IMAGE_TAG: ${{ github.sha }} IMAGE_TAG: ${{ github.sha::7 }}
CONTAINER_NAME: ${{ vars.CONTAINER_NAME }} CONTAINER_NAME: ${{ vars.CONTAINER_NAME }}
jobs: jobs:
@@ -34,7 +34,7 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64
push: true push: true
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}