Skip to content

Workflow file for this run

---
name: Publish Docker Image to Quay.io
on: # yamllint disable-line rule:truthy
release:
types: [published]
env:
CARGO_INCREMENTAL: 0
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: sccache
IN_CI: "true"
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Fetch tags
run: git fetch --tags
- name: Run sccache
uses: mozilla-actions/[email protected]
- name: Build
run: EXTRA_BUILD_ARTIFACTS= 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