Skip to content

Publish Docker Image to Quay.io #1

Publish Docker Image to Quay.io

Publish Docker Image to Quay.io #1

Workflow file for this run

---
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