Skip to content

Commit

Permalink
#692 Test build on release
Browse files Browse the repository at this point in the history
  • Loading branch information
fketelaars committed Apr 27, 2024
1 parent 97a1d19 commit b56dca2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-image-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Build the Deployer image

name: build-deployer-image-release

# Trigger the workflow on publishing of a new release
on:
release:
types: [created]
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Sequence of tasks that will be executed as part of the job
steps:

# - name: Check-out repository
# uses: actions/checkout@v3

- name: Show the release
run: |
echo "${GITHUB_REF}"
# - name: Push to quay.io
# env:
# QUAY_IO_USER: ${{ secrets.QUAY_IO_USER }}
# QUAY_IO_PASSWORD: ${{ secrets.QUAY_IO_PASSWORD }}
# run: |
# podman login quay.io -u "${QUAY_IO_USER}" -p "${QUAY_IO_PASSWORD}"
# podman tag cloud-pak-deployer:latest quay.io/cloud-pak-deployer/cloud-pak-deployer:latest
# podman push quay.io/cloud-pak-deployer/cloud-pak-deployer:latest

0 comments on commit b56dca2

Please sign in to comment.