Skip to content

Commit

Permalink
Add build github action to push to quay
Browse files Browse the repository at this point in the history
  • Loading branch information
tvirgl-wish authored and tvi committed May 14, 2020
1 parent ecd1b21 commit f9c07d9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build

on:
push:
branches:
- master
tags:
- v*

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: azure/docker-login@v1
with:
login-server: quay.io
username: '${{ secrets.QUAYIO_USERNAME }}'
password: '${{ secrets.QUAYIO_PASSWORD }}'
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
qemu-version: latest
- name: Available platforms
run: 'echo ${{ steps.buildx.outputs.platforms }}'
- name: Run Buildx
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--push -t quay.io/wish/katalog-sync:${GITHUB_REF##*/} .

0 comments on commit f9c07d9

Please sign in to comment.