Skip to content

chore(deps): update dependency alpine_3_20/curl to v8.10.1-r0 (#71) #164

chore(deps): update dependency alpine_3_20/curl to v8.10.1-r0 (#71)

chore(deps): update dependency alpine_3_20/curl to v8.10.1-r0 (#71) #164

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # 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@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6
with:
context: .
platforms: ${{ env.PLATFORMS }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}