Skip to content

Commit

Permalink
Update adhoc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgagliardo91 committed Jul 11, 2023
1 parent a90bc7d commit 24febef
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/adhoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,34 @@ on:
required: true

jobs:
build:
build-amd:
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Free disk space
# https://github.com/actions/virtual-environments/issues/709
run: |
sudo apt-get clean
df -h
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: quay.io/ndustrialio/postgresml:${{ github.event.inputs.tag || 'staging' }},quay.io/ndustrialio/postgresml:latest
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
context: ./pgml-extension/
platforms: linux/amd64
build-arm:
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 24febef

Please sign in to comment.