chore(deps): update actions/checkout digest to 11bd719 #83
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: buildx-on-pr | |
on: | |
pull_request: | |
workflow_dispatch: | |
env: | |
PLATFORMS: linux/amd64,linux/arm64 | |
jobs: | |
buildx-on-pr: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@5927c834f5b4fdf503fca6f4c7eccda82949e1ee # v3 | |
- name: Set up Buildx | |
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3 | |
- name: Set up variable repository name | |
run: echo "IMAGE_NAME=${{ github.repository }}" >> $GITHUB_ENV | |
- name: Login to ghcr.io | |
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # 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@1ca370b3a9802c92e886402e0dd88098a2533b12 # 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 | |
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=ZPA Connector |