Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
This commit is contained in:
@@ -93,8 +93,8 @@ jobs:
|
||||
eval $(sed -e '/^#/d' -e 's/^/export /' -e 's/$/;/' .env) ;
|
||||
|
||||
# Temporarily disable ARM build due to runner performance issues
|
||||
# - name: Set up QEMU
|
||||
# uses: docker/setup-qemu-action@v2
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3 # Updated to v3 for latest features/fixes
|
||||
|
||||
- name: Start database
|
||||
run: |
|
||||
@@ -107,9 +107,9 @@ jobs:
|
||||
network=container:database
|
||||
buildkitd-flags: |
|
||||
--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
|
||||
# config-inline: |
|
||||
# [worker.oci]
|
||||
# max-parallelism = 1
|
||||
# config-inline: |
|
||||
# [worker.oci]
|
||||
# max-parallelism = 1
|
||||
|
||||
- name: Build image
|
||||
id: docker_build
|
||||
@@ -118,8 +118,8 @@ jobs:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
load: true # Load the image into the Docker daemon
|
||||
push: false # Do not push the image at this stage
|
||||
platforms: linux/amd64
|
||||
push: false # Do not push the image at this stage
|
||||
platforms: linux/arm64 # Changed from linux/amd64
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
@@ -179,7 +179,7 @@ jobs:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
platforms: linux/amd64
|
||||
platforms: linux/arm64 # Changed from linux/amd64
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
@@ -196,4 +196,4 @@ jobs:
|
||||
|
||||
- name: Cleanup
|
||||
run: |
|
||||
docker compose down
|
||||
docker compose down
|
||||
Reference in New Issue
Block a user