Skip to content

Commit

Permalink
Merge pull request #56 from thom311/th/github-action-no-push
Browse files Browse the repository at this point in the history
[th/github-action-no-push] github: don't push test image for pull requests
  • Loading branch information
SalDaniele authored Jun 14, 2024
2 parents a9298bd + 7673d4d commit bb3da0f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

jobs:
build-and-push:
build:

runs-on: ubuntu-latest

Expand All @@ -16,16 +16,10 @@ jobs:
- name: Set up Docker Buildx
run: |
docker buildx create --use
- name: Authenticate
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build and Push Multiarch image
- name: Build Multiarch image
run: |
docker buildx build \
--file ./images/Containerfile \
--platform linux/arm64,linux/amd64\
--tag quay.io/wizhao/tft-tools:pr_test \
--push .
.

0 comments on commit bb3da0f

Please sign in to comment.