Skip to content

feat(HACBS-2227): snapshot data model can be used in update expressio… #35

feat(HACBS-2227): snapshot data model can be used in update expressio…

feat(HACBS-2227): snapshot data model can be used in update expressio… #35

name: Build and push image
on:
push:
branches:
- main
jobs:
build-and-push-image:
name: Build and push image
runs-on: ubuntu-20.04
env:
QUAY_ORG: hacbs-release
QUAY_REPO: release-utils
steps:
- name: Check out source code
uses: actions/checkout@v3
- name: Login to Quay
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_ROBOT_USER }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- name: Build image and push it to Quay
uses: docker/build-push-action@v4
with:
context: .
push: true
file: Dockerfile
no-cache: true
tags: |
quay.io/${{ env.QUAY_ORG }}/${{ env.QUAY_REPO }}:main
quay.io/${{ env.QUAY_ORG }}/${{ env.QUAY_REPO }}:latest
quay.io/${{ env.QUAY_ORG }}/${{ env.QUAY_REPO }}:${{ github.sha }}