Skip to content

Commit

Permalink
chore(repo): try creating multi-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnk committed Sep 4, 2024
1 parent 98ad280 commit fb50c0a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
needs: test
steps:
- uses: actions/checkout@v4
- name: Install Nixpacks
run: |
curl -LO https://github.com/railwayapp/nixpacks/releases/download/v1.27.1/nixpacks-v1.27.1-amd64.deb
sudo dpkg -i nixpacks-v1.27.1-amd64.deb
- uses: oven-sh/setup-bun@v2
- run: bun i --no-save
- run: bun run build
Expand All @@ -33,7 +29,9 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Tag image
run: docker tag $(docker images --format='{{.ID}}' | head -1) ghcr.io/palladians/klesia:$(git rev-parse --short HEAD)
- name: Push to GHCR
run: docker push ghcr.io/palladians/klesia:$(git rev-parse --short HEAD)
- name: Build and push Docker images
uses: iloveitaly/github-action-nixpacks@main
with:
platforms: "linux/amd64,linux/arm64"
push: true
tags: ghcr.io/palladians/klesia:$(git rev-parse --short HEAD)

0 comments on commit fb50c0a

Please sign in to comment.