fix: Rebase checkout step to genuine action
build-binaries / Build binary (Linux) (push) Failing after 1m26s
build-binaries / Build binary (Windows) (push) Failing after 1m30s

This commit is contained in:
2026-09-02 10:23:51 +10:00
parent 4320add7a3
commit 72ca0960e2
+15 -10
View File
@@ -9,14 +9,16 @@ jobs:
build_linux: build_linux:
name: Build binary (Linux) name: Build binary (Linux)
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: code.spamasaurus.com/djpbessems/act-runner-extended:1.0.0-cth20250815 # container: code.spamasaurus.com/djpbessems/act-runner-extended:1.0.0-cth20250815
env: env:
CGO_ENABLED: 0 CGO_ENABLED: 0
steps: steps:
- name: Git clone and checkout tag - name: Check out upstream repository code
run: | uses: actions/checkout@v3
git clone https://github.com/podman-container-tools/skopeo.git . with:
git checkout tags/$SKOPEO_VERSION github-server-url: https://github.com
repository: podman-container-tools/skopeo
ref: $SKOPEO_VERSION
- name: Build Linux binary - name: Build Linux binary
run: | run: |
apt-get update && apt-get install -y go-md2man apt-get update && apt-get install -y go-md2man
@@ -34,14 +36,17 @@ jobs:
build_windows: build_windows:
name: Build binary (Windows) name: Build binary (Windows)
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: code.spamasaurus.com/djpbessems/act-runner-extended:1.0.0-cth20250815 container:
image: code.spamasaurus.com/djpbessems/act-runner-extended:1.0.0-cth20250815
env: env:
CGO_ENABLED: 0 CGO_ENABLED: 0
steps: steps:
- name: Git clone and checkout tag - name: Check out upstream repository code
run: | uses: actions/checkout@v3
git clone https://github.com/podman-container-tools/skopeo.git . with:
git checkout tags/$SKOPEO_VERSION github-server-url: https://github.com
repository: podman-container-tools/skopeo
ref: $SKOPEO_VERSION
- name: Build Windows binary - name: Build Windows binary
run: | run: |
apt-get update && apt-get install -y go-md2man apt-get update && apt-get install -y go-md2man