fix: use container skopeo (#110)
the `os_version` is defaulting to the `image_tag` inside containers and causing our template to use latest tag --------- Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
This commit is contained in:
parent
c084592934
commit
580c3d6ce7
22 changed files with 567 additions and 383 deletions
4
.github/workflows/build-pr.yml
vendored
4
.github/workflows/build-pr.yml
vendored
|
|
@ -91,6 +91,7 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
driver: docker
|
||||
install: true
|
||||
|
||||
- name: Earthly login
|
||||
|
|
@ -107,8 +108,6 @@ jobs:
|
|||
ref: ${{ github.event.pull_request.ref }}
|
||||
|
||||
- name: Install bluebuild
|
||||
env:
|
||||
BB_BUILDKIT_CACHE_GHA: true
|
||||
run: |
|
||||
earthly -a +install/bluebuild --BUILD_TARGET=x86_64-unknown-linux-musl /usr/local/bin/bluebuild
|
||||
|
||||
|
|
@ -117,7 +116,6 @@ jobs:
|
|||
|
||||
- name: Run Build
|
||||
env:
|
||||
BB_BUILDKIT_CACHE_GHA: "true"
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_PR_EVENT_NUMBER: ${{ github.event.number }}
|
||||
COSIGN_PRIVATE_KEY: ${{ secrets.TEST_SIGNING_SECRET }}
|
||||
|
|
|
|||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -105,6 +105,7 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
driver: docker
|
||||
install: true
|
||||
|
||||
- name: Earthly login
|
||||
|
|
@ -121,8 +122,6 @@ jobs:
|
|||
ref: main
|
||||
|
||||
- name: Install bluebuild
|
||||
env:
|
||||
BB_BUILDKIT_CACHE_GHA: true
|
||||
run: |
|
||||
earthly -a +install/bluebuild --BUILD_TARGET=x86_64-unknown-linux-musl /usr/local/bin/bluebuild
|
||||
|
||||
|
|
@ -131,7 +130,6 @@ jobs:
|
|||
|
||||
- name: Run Build
|
||||
env:
|
||||
BB_BUILDKIT_CACHE_GHA: "true"
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_PR_EVENT_NUMBER: ${{ github.event.number }}
|
||||
COSIGN_PRIVATE_KEY: ${{ secrets.TEST_SIGNING_SECRET }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue