Skip to content

Quay.io CI

Quay.io CI #103

Workflow file for this run

name: Quay.io CI
on:
push:
branches:
- main
paths:
- 'src/aspnet/6.0/ntlm-excel'
schedule:
- cron: '0 0 * * 2'
workflow_dispatch: {}
jobs:
build:
name: Build and push image
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build Image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: aspnet
tags: 6.0-ntlm-excel
containerfiles: |
./src/aspnet/6.0/ntlm-excel/Dockerfile
# Podman Login action (https://github.com/redhat-actions/podman-login) also be used to log in,
# in which case 'username' and 'password' can be omitted.
- name: Push To quay.io
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io/pqsdev
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Print image url
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
- uses: gautamkrishnar/keepalive-workflow@v1 # using the workflow with default settings