Skip to content

chore(deps): update registry.hub.docker.com/library/alpine docker tag to v3.19.1 #100

chore(deps): update registry.hub.docker.com/library/alpine docker tag to v3.19.1

chore(deps): update registry.hub.docker.com/library/alpine docker tag to v3.19.1 #100

Workflow file for this run

name: oci-build
on:
push:
branches: [ main ]
tags:
- '*'
pull_request:
branches: [ main ]
jobs:
build-deliverest:
name: build-deliverest
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Pick image tag on non pull-request
if: github.event_name != 'pull_request'
shell: bash
run: echo "TAG=${{ GITHUB.REF_NAME}}" >> $GITHUB_ENV
- name: Pick image tag on pull-request
if: github.event_name == 'pull_request'
shell: bash
run: echo "TAG=${{ GITHUB.EVENT.PULL_REQUEST.HEAD.REF}}" >> $GITHUB_ENV
- name: Build image
id: build-image
uses: redhat-actions/buildah-build@v2.12
with:
image: deliverest
tags: ${{ env.TAG }}
context: .
containerfiles: |
Containerfile
- name: Log in to quay.io Registry
uses: redhat-actions/podman-login@v1.6
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USERNAME }}
password: ${{ secrets.QUAY_IO_PASSWORD }}
- name: Push to quay.io
id: push-to-quay
uses: redhat-actions/push-to-registry@v2.7
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io/rhqp
- name: Print image url
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"