Skip to content

Commit 4b7d2e4

Browse files
committed
Update the docker build process
1 parent 3ffb7d6 commit 4b7d2e4

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ on:
88
jobs:
99
push_to_registry:
1010
name: Push Docker image to Docker Hub
11-
runs-on: self-hosted
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out the repo
1414
uses: actions/checkout@v4
1515

16+
- name: Set up QEMU
17+
uses: docker/setup-qemu-action@v3
18+
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
21+
1622
- name: Log in to Docker Hub
1723
uses: docker/login-action@v3
1824
with:
@@ -33,6 +39,7 @@ jobs:
3339
uses: docker/build-push-action@v6
3440
with:
3541
context: .
42+
platforms: linux/amd64,linux/arm64,linux/arm/v7
3643
push: true
3744
tags: ${{ steps.meta.outputs.tags }}
3845
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
build-and-publish:
14+
name: Build and Publish NPM Package
1415
runs-on: ubuntu-latest # Note: Trusted publishing requires GitHub-hosted runners, not self-hosted
1516
steps:
1617
- name: Checkout code

0 commit comments

Comments
 (0)