fix: Rebase checkout step to genuine action
This commit is contained in:
@@ -9,14 +9,16 @@ jobs:
|
||||
build_linux:
|
||||
name: Build binary (Linux)
|
||||
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:
|
||||
CGO_ENABLED: 0
|
||||
steps:
|
||||
- name: Git clone and checkout tag
|
||||
run: |
|
||||
git clone https://github.com/podman-container-tools/skopeo.git .
|
||||
git checkout tags/$SKOPEO_VERSION
|
||||
- name: Check out upstream repository code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
github-server-url: github.com
|
||||
repository: podman-container-tools/skopeo
|
||||
ref: $SKOPEO_VERSION
|
||||
- name: Build Linux binary
|
||||
run: |
|
||||
apt-get update && apt-get install -y go-md2man
|
||||
@@ -38,10 +40,12 @@ jobs:
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
steps:
|
||||
- name: Git clone and checkout tag
|
||||
run: |
|
||||
git clone https://github.com/podman-container-tools/skopeo.git .
|
||||
git checkout tags/$SKOPEO_VERSION
|
||||
- name: Check out upstream repository code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
github-server-url: github.com
|
||||
repository: podman-container-tools/skopeo
|
||||
ref: $SKOPEO_VERSION
|
||||
- name: Build Windows binary
|
||||
run: |
|
||||
apt-get update && apt-get install -y go-md2man
|
||||
|
||||
Reference in New Issue
Block a user