|
|
|
@ -29,10 +29,10 @@ jobs:
|
|
|
|
|
go-version: 1.20.x
|
|
|
|
|
cache: false
|
|
|
|
|
- name: Setup QEMU
|
|
|
|
|
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
|
|
|
|
|
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
|
|
|
|
|
- name: Setup Docker Buildx
|
|
|
|
|
id: buildx
|
|
|
|
|
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
|
|
|
|
|
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
|
|
|
|
|
- name: Setup Syft
|
|
|
|
|
uses: anchore/sbom-action/download-syft@78fc58e266e87a38d4194b2137a3d4e9bcaf7ca1 # v0.14.3
|
|
|
|
|
- name: Setup Cosign
|
|
|
|
@ -40,13 +40,13 @@ jobs:
|
|
|
|
|
- name: Setup Kustomize
|
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@main
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
|
|
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
|
|
|
|
|
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
|
|
|
|
|
with:
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
username: fluxcdbot
|
|
|
|
|
password: ${{ secrets.GHCR_TOKEN }}
|
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
|
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
|
|
|
|
|
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
|
|
|
|
|
with:
|
|
|
|
|
username: fluxcdbot
|
|
|
|
|
password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
|
|
|
|
@ -79,7 +79,7 @@ jobs:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
- name: Run GoReleaser
|
|
|
|
|
id: run-goreleaser
|
|
|
|
|
uses: goreleaser/goreleaser-action@5fdedb94abba051217030cc86d4523cf3f02243d # v4.6.0
|
|
|
|
|
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
|
|
|
|
|
with:
|
|
|
|
|
version: latest
|
|
|
|
|
args: release --release-notes=output/notes.md --skip-validate
|
|
|
|
@ -121,13 +121,13 @@ jobs:
|
|
|
|
|
VERSION=$(flux version --client | awk '{ print $NF }')
|
|
|
|
|
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
|
|
|
|
- name: Login to GHCR
|
|
|
|
|
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
|
|
|
|
|
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
|
|
|
|
|
with:
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
username: fluxcdbot
|
|
|
|
|
password: ${{ secrets.GHCR_TOKEN }}
|
|
|
|
|
- name: Login to DockerHub
|
|
|
|
|
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
|
|
|
|
|
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
|
|
|
|
|
with:
|
|
|
|
|
username: fluxcdbot
|
|
|
|
|
password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
|
|
|
|
|