Refactor ci workflow
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user