Skip to content

Fix -startup script #15

Fix -startup script

Fix -startup script #15

Workflow file for this run

name: buildx-on-pr
on:
pull_request:
workflow_dispatch:
env:
IMAGE_NAME: truestory1/zpa-connector-image
jobs:
buildx-on-pr:
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Initial Buildx
uses: docker/build-push-action@v5
with:
context: .
file: Containerfile
tags: ${{ env.IMAGE_NAME }}:testing
platforms: linux/amd64
- name: Login to ghcr.io
uses: docker/login-action@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@v5
if: github.actor == github.event.repository.owner.login
with:
context: .
file: Containerfile
tags: |
ghcr.io/${{ env.IMAGE_NAME }}:testing
ghcr.io/${{ env.IMAGE_NAME }}:testing-${{ github.event.pull_request.number }}
platforms: linux/amd64
push: true