Multi-architettura prova 1
Some checks failed
Compila e pubblica sul registro integrato / Build-Docker-Image (push) Failing after 1m24s
Some checks failed
Compila e pubblica sul registro integrato / Build-Docker-Image (push) Failing after 1m24s
This commit is contained in:
@@ -15,9 +15,25 @@ jobs:
|
||||
- name: Set repository name lowercase
|
||||
run: echo "REPO_LOWERCASE=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build -t $REPO_LOWERCASE:latest .
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: $REPO_LOWERCASE:latest:latest
|
||||
|
||||
#- name: Build Docker image
|
||||
# run: |
|
||||
# docker build -t $REPO_LOWERCASE:latest .
|
||||
|
||||
- name: Publish Docker image
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user