Skip to content

Commit b57e1bd

Browse files
committed
💚 Improve docker image build
1 parent ba4628f commit b57e1bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/dockerimage.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ jobs:
5757
docker-images: true
5858
swap-storage: true
5959

60-
- name: Set up QEMU
61-
uses: docker/setup-qemu-action@v3
60+
# - name: Set up QEMU
61+
# uses: docker/setup-qemu-action@v3
6262

6363
- name: Setup Docker buildx
6464
uses: docker/setup-buildx-action@v3
6565

66-
- name: Log in to Docker Hub
67-
uses: docker/login-action@v3
68-
with:
69-
username: ${{ secrets.DOCKER_HUB_USER }}
70-
password: ${{ secrets.DOCKER_HUB_PWD }}
66+
# - name: Log in to Docker Hub
67+
# uses: docker/login-action@v3
68+
# with:
69+
# username: ${{ secrets.DOCKER_HUB_USER }}
70+
# password: ${{ secrets.DOCKER_HUB_PWD }}
7171

7272
- name: Build the Docker image use Workflow Dispatch inputs' version
7373
if: ${{ github.event_name == 'workflow_dispatch' && !github.event.inputs.image_tag == '' }}
@@ -76,4 +76,4 @@ jobs:
7676
- name: Build the Docker image use package_json version
7777
if: ${{ github.event_name == 'push' || github.event.inputs.image_tag == '' }}
7878
run: |
79-
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:latest -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:v${{ steps.version.outputs.value }} .
79+
docker buildx build --platform linux/amd64 -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:latest -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:v${{ steps.version.outputs.value }} .

0 commit comments

Comments
 (0)