Skip to content

chore(deps): update dependency alpine_3_20/curl to v8.11.0-r1 (#77) #178

chore(deps): update dependency alpine_3_20/curl to v8.11.0-r1 (#77)

chore(deps): update dependency alpine_3_20/curl to v8.11.0-r1 (#77) #178

name: Build Multiarch Container Images
on:
push:
branches: [ main ]
tags: [ '*' ]
pull_request:
branches: [ main ]
jobs:
build:
name: multi-arch image build
env:
PLATFORMS: linux/amd64,linux/arm64
REGISTRY_GH: ghcr.io
REGISTRY_QUAY: quay.io
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4
with:
token: ${{ secrets.RP_PAT }}
config-file: .release-please-config.json
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3
with:
driver-opts: network=host
install: true
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Docker meta
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5
with:
images: |
${{ env.REGISTRY_GH }}/${{ github.repository }}
# ${{ env.REGISTRY_QUAY }}/${{ github.repository }}
tags: |
type=schedule,pattern=nightly,enable=true,priority=1000
type=ref,event=tag,enable=true,priority=600
type=ref,event=pr,prefix=pr-,enable=true,priority=600
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }},priority=600
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: index
- name: Login to ghcr.io
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
registry: ${{ env.REGISTRY_GH }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Login to quay.io
# uses: docker/login-action@v3
# with:
# registry: ${{ env.REGISTRY_QUAY }}
# username: "${{ secrets.QUAY_USERNAME }}"
# password: ${{ secrets.QUAY_TOKEN }}
- name: Build and Push images
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6
with:
context: .
platforms: ${{ env.PLATFORMS }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}