Skip to content

chore(deps): update docker/setup-qemu-action digest to 53851d1 #103

chore(deps): update docker/setup-qemu-action digest to 53851d1

chore(deps): update docker/setup-qemu-action digest to 53851d1 #103

Workflow file for this run

name: buildx-on-pr
on:
pull_request:
workflow_dispatch:
env:
PLATFORMS: linux/amd64 #,linux/arm64
jobs:
buildx-on-pr:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3
- name: Set up Buildx
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3
- name: Set up variable repository name
run: echo "IMAGE_NAME=${{ github.repository }}" >> $GITHUB_ENV
- name: Login to ghcr.io
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
# if: github.actor == github.event.repository.owner.login
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Buildx and Push
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6
with:
context: .
file: Containerfile
tags: |
ghcr.io/${{ env.IMAGE_NAME }}:testing
ghcr.io/${{ env.IMAGE_NAME }}:testing-${{ github.event.pull_request.number }}
platforms: ${{ env.PLATFORMS }}
push: true
provenance: false
cache-from: type=gha
cache-to: type=gha,mode=max
# outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=ZPA Connector