You've already forked dcmerge
fix(ci): install curl, syft and configure buildx
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 30s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 22s
Release / Release application (push) Successful in 8m42s
Release / Upload Images to docker.io (push) Successful in 51s
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 30s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 22s
Release / Release application (push) Successful in 8m42s
Release / Upload Images to docker.io (push) Successful in 51s
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: "Release"
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -15,7 +15,24 @@ jobs:
|
||||
- uses: actions/checkout@v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install curl
|
||||
run: apt-get update && apt-get install --yes curl
|
||||
- name: Install syft
|
||||
env:
|
||||
SYFT_VERSION: "1.41.1" # renovate: datasource=github-releases depName=anchore/syft
|
||||
run: |
|
||||
OS="$(uname | tr '[:upper:]' '[:lower:]')"
|
||||
ARCH="$(dpkg --print-architecture)"
|
||||
curl \
|
||||
--fail \
|
||||
--location \
|
||||
--silent \
|
||||
--output syft_${SYFT_VERSION}_${OS}_${ARCH}.deb \
|
||||
"https://github.com/anchore/syft/releases/download/v${SYFT_VERSION}/syft_${SYFT_VERSION}_${OS}_${ARCH}.deb"
|
||||
dpkg -i syft_${SYFT_VERSION}_${OS}_${ARCH}.deb
|
||||
rm syft_${SYFT_VERSION}_${OS}_${ARCH}.deb
|
||||
- uses: docker/setup-qemu-action@v3.7.0
|
||||
- uses: docker/setup-buildx-action@v3.12.0
|
||||
- uses: actions/setup-go@v6.2.0
|
||||
with:
|
||||
go-version: stable
|
||||
|
||||
Reference in New Issue
Block a user