This repository has been archived by the owner on Dec 21, 2024. It is now read-only.
Bump docker/setup-buildx-action from 3.7.1 to 3.8.0 #144
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build rsd via apko | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f | |
with: | |
egress-policy: audit | |
allowed-endpoints: > | |
auth.docker.io:443 | |
azure.archive.ubuntu.com:80 | |
esm.ubuntu.com:443 | |
github.com:443 | |
motd.ubuntu.com:443 | |
packages.microsoft.com:443 | |
packages.wolfi.dev:443 | |
production.cloudflare.docker.com:443 | |
proxy.golang.org:443 | |
registry-1.docker.io:443 | |
storage.googleapis.com:443 | |
sum.golang.org:443 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a | |
with: | |
go-version: 1.23 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 | |
- 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 | |
working-directory: ${{ github.workspace }} | |
- run: | | |
docker run --rm rsd:latest-amd64 | |
docker run --rm rsd:latest-arm64 | |
working-directory: ${{ github.workspace }} |