Bump docker/setup-buildx-action from 3.7.1 to 3.8.0 #1772
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
actions: read | |
contents: read | |
id-token: write | |
steps: | |
# Get the repository's code | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# https://github.com/docker/setup-qemu-action | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 | |
# https://github.com/docker/setup-buildx-action | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0 | |
- name: Docker meta | |
id: daemon # you'll use this in the next step | |
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1 | |
with: | |
# list of Docker images to use as base name for tags | |
images: | | |
ghcr.io/azure/kube-egress-gateway-daemon | |
tags: | | |
type=semver,pattern={{raw}} | |
bake-target: daemon-tags | |
- name: Docker meta | |
id: controller # you'll use this in the next step | |
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1 | |
with: | |
# list of Docker images to use as base name for tags | |
images: | | |
ghcr.io/azure/kube-egress-gateway-controller | |
tags: | | |
type=semver,pattern={{raw}} | |
bake-target: controller-tags | |
- name: Docker meta | |
id: cnimanager # you'll use this in the next step | |
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1 | |
with: | |
# list of Docker images to use as base name for tags | |
images: | | |
ghcr.io/azure/kube-egress-gateway-cnimanager | |
tags: | | |
type=semver,pattern={{raw}} | |
bake-target: cnimanager-tags | |
- name: Docker meta | |
id: cniplugin # you'll use this in the next step | |
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1 | |
with: | |
# list of Docker images to use as base name for tags | |
images: | | |
ghcr.io/azure/kube-egress-gateway-cni | |
tags: | | |
type=semver,pattern={{raw}} | |
bake-target: cni-tags | |
- name: Docker meta | |
id: cniipamplugin # you'll use this in the next step | |
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1 | |
with: | |
# list of Docker images to use as base name for tags | |
images: | | |
ghcr.io/azure/kube-egress-gateway-cni-ipam | |
tags: | | |
type=semver,pattern={{raw}} | |
bake-target: cni-ipam-tags | |
- name: Set platform env for pr build | |
run: | | |
echo "TARGET_PLATFORMS=linux/amd64" >> $GITHUB_ENV | |
- name: Build and push | |
uses: docker/bake-action@3fc70e1131fee40a422dd8dd0ff22014ae20a1f3 # v5.11.0 | |
env: | |
PLATFORMS: ${{env.TARGET_PLATFORMS}} | |
with: | |
push: false | |
files: | | |
docker/docker-bake.hcl | |
${{ steps.daemon.outputs.bake-file }} | |
${{ steps.controller.outputs.bake-file }} | |
${{ steps.cnimanager.outputs.bake-file }} | |
${{ steps.cniplugin.outputs.bake-file }} | |
${{ steps.cniipamplugin.outputs.bake-file }} | |