Skip to content

chore: upgrade golang.org/x/net v0.33.0 #617

chore: upgrade golang.org/x/net v0.33.0

chore: upgrade golang.org/x/net v0.33.0 #617

Workflow file for this run

name: image-publish
on:
push:
branches:
- "*"
release:
types:
- published
permissions:
contents: read
jobs:
push-to-registry:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5.6.1
with:
images: ghcr.io/${{ github.repository }}
flavor: |
latest=false
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
- name: Install Cosign
uses: sigstore/cosign-installer@v3.7.0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.8.0
- name: Login to Registry
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v6.10.0
with:
context: .
file: ./Dockerfile
labels: ${{ steps.docker_meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
provenance: false
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
- name: Sign the container images
run: |
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
env:
TAGS: ${{ steps.docker_meta.outputs.tags }}
COSIGN_EXPERIMENTAL: 1
DIGEST: ${{ steps.docker_build.outputs.digest }}