Skip to content

Bump golang.org/x/net from 0.26.0 to 0.33.0 #7

Bump golang.org/x/net from 0.26.0 to 0.33.0

Bump golang.org/x/net from 0.26.0 to 0.33.0 #7

Workflow file for this run

name: Build Artifacts
on:
release:
types: [created]
push:
branches:
- '**'
pull_request:
branches:
- '**'
concurrency:
# On main/release, we don't want any jobs cancelled so the sha is used to name the group
# On PR branches, we cancel the job if new commits are pushed
# More info: https://stackoverflow.com/a/68422069/253468
group: ${{ github.ref == 'refs/heads/main' && format('ci-main-{0}', github.sha) || format('ci-main-{0}', github.ref) }}
cancel-in-progress: true
jobs:
multiplatform_build:
if: github.event.pull_request.user.login != 'dependabot[bot]' || github.event_name == 'pull_request'
strategy:
fail-fast: false
matrix:
component:
- name: qubership-network-latency-exporter
file: ./Dockerfile
runs-on: ubuntu-latest
name: ${{ matrix.component.name }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository_owner }}/${{ matrix.component.name }}
tags: |
type=ref,event=branch
type=ref,event=tag
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
no-cache: true
context: ${{ matrix.component.context }}
file: ${{ matrix.component.file }}
platforms: linux/amd64
# See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#fetching-metadata-about-a-pull-request
push: ${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }}
provenance: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}