Skip to content

[th/github-action-no-push] github: don't push test image for pull requests #63

[th/github-action-no-push] github: don't push test image for pull requests

[th/github-action-no-push] github: don't push test image for pull requests #63

Workflow file for this run

name: Build PR
on:
pull_request:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
run: |
docker buildx create --use
- name: Build Multiarch image
run: |
docker buildx build \
--file ./images/Containerfile \
--platform linux/arm64,linux/amd64\
--tag quay.io/wizhao/tft-tools:pr_test \
.