File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 18
18
needs : test
19
19
steps :
20
20
- 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
25
21
- uses : oven-sh/setup-bun@v2
26
22
- run : bun i --no-save
27
23
- run : bun run build
33
29
registry : ghcr.io
34
30
username : ${{ github.actor }}
35
31
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)
You can’t perform that action at this time.
0 commit comments