Skip to content

Commit fb50c0a

Browse files
committed
chore(repo): try creating multi-platform
1 parent 98ad280 commit fb50c0a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jobs:
1818
needs: test
1919
steps:
2020
- uses: actions/checkout@v4
21-
- name: Install Nixpacks
22-
run: |
23-
curl -LO https://github.com/railwayapp/nixpacks/releases/download/v1.27.1/nixpacks-v1.27.1-amd64.deb
24-
sudo dpkg -i nixpacks-v1.27.1-amd64.deb
2521
- uses: oven-sh/setup-bun@v2
2622
- run: bun i --no-save
2723
- run: bun run build
@@ -33,7 +29,9 @@ jobs:
3329
registry: ghcr.io
3430
username: ${{ github.actor }}
3531
password: ${{ secrets.GITHUB_TOKEN }}
36-
- name: Tag image
37-
run: docker tag $(docker images --format='{{.ID}}' | head -1) ghcr.io/palladians/klesia:$(git rev-parse --short HEAD)
38-
- name: Push to GHCR
39-
run: docker push ghcr.io/palladians/klesia:$(git rev-parse --short HEAD)
32+
- name: Build and push Docker images
33+
uses: iloveitaly/github-action-nixpacks@main
34+
with:
35+
platforms: "linux/amd64,linux/arm64"
36+
push: true
37+
tags: ghcr.io/palladians/klesia:$(git rev-parse --short HEAD)

0 commit comments

Comments
 (0)