Skip to content

Commit

Permalink
release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drmorr0 committed Jun 14, 2024
1 parent e427d62 commit 7931015
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Publish Docker Image to Quay.io

on: # yamllint disable-line rule:truthy
release:
types: [published]

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Run sccache
uses: mozilla-actions/[email protected]
- name: Build
run: make build
- name: Login to Quay.io
run: >
echo "${{ secrets.QUAY_IO_PASSWORD }}" |
docker login quay.io -u "${{ secrets.QUAY_IO_USERNAME }}" --password-stdin
- name: Build and push Docker image
run: DOCKER_REGISTRY=quay.io/appliedcomputing make image
- name: Logout from Quay.io
run: docker logout quay.io

0 comments on commit 7931015

Please sign in to comment.