Skip to content

chore(deps): bump actions/checkout from v4.2.2 to v4.3.0 #228

chore(deps): bump actions/checkout from v4.2.2 to v4.3.0

chore(deps): bump actions/checkout from v4.2.2 to v4.3.0 #228

Workflow file for this run

name: "build"
on:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- 'v*'
workflow_dispatch: {}
permissions:
packages: write
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: make check
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
args: --verbose
verify: false # workaround https://github.com/golangci/golangci-lint-action/issues/1179
- run: make test
- run: make build
build-ubuntu-netools:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
with:
image: tonistiigi/binfmt:qemu-v7.0.0 # https://github.com/tonistiigi/binfmt/issues/240#issuecomment-2669052837
- id: buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- if: github.event_name != 'pull_request'
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with:
# list of Docker images to use as base name for tags
images: ghcr.io/${{github.repository_owner}}/ubuntu-netools
# Docker tags based on the following events/attributes
labels: |
org.opencontainers.image.title=Kuma netools
org.opencontainers.image.description=networking tools to use in Kuma's CI
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=sha
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: docker
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: docker/ubuntu-netools.Dockerfile
build-openapi-tool:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
- id: buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- if: github.event_name != 'pull_request'
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with:
# list of Docker images to use as base name for tags
images: ghcr.io/${{github.repository_owner}}/openapi-tool
labels: |
org.opencontainers.image.title=Kuma openapi-tool
org.opencontainers.image.description=Packaged tool to use in Kuma to generate openapi specs
# Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=sha
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: openapi-tool
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: openapi-tool/Dockerfile