Skip to content

Commit

Permalink
Try Docker
Browse files Browse the repository at this point in the history
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
  • Loading branch information
egibs committed Oct 22, 2024
1 parent 010e635 commit e664b77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Build rsd via apko
on:
pull_request:
push:
branches: [ main ]
branches: [main]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -31,18 +31,14 @@ jobs:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: 1.22
go-version: 1.23
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349
- run: |
go install chainguard.dev/apko@latest
go install chainguard.dev/melange@latest
- run: |
sudo apt -y update
sudo apt -y install bubblewrap
sudo chmod u+s /usr/bin/bwrap
- run: |
make rsd-apko
make rsd-docker
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ keygen:
melange keygen

rsd-melange: keygen
melange build --arch arm64,x86_64 rsd.yaml --signing-key melange.rsa
melange build --arch arm64,x86_64 rsd.yaml --signing-key melange.rsa --runner docker

rsd-apko: rsd-melange
apko build rsd.apko.yaml rsd:latest rsd.tar
Expand Down

0 comments on commit e664b77

Please sign in to comment.