Skip to content

Commit

Permalink
Build container image for message broker and push to quay.io
Browse files Browse the repository at this point in the history
  • Loading branch information
lipoja committed Apr 5, 2022
1 parent fc41329 commit 16e722d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
dockerfiles: |
./docker/Dockerfile-api
- name: Build iib-message-broker
id: build-iib-message-broker
uses: redhat-actions/buildah-build@v2
with:
image: iib-message-broker
tags: ${{ github.event.release.tag_name }} latest
dockerfiles: |
./docker/message_broker/Dockerfile
- name: Push iib-worker to quay.io
id: push-iib-worker
uses: redhat-actions/[email protected]
Expand All @@ -54,3 +63,13 @@ jobs:
registry: quay.io/exd-guild-hello-operator
username: ${{ secrets.REGISTRY_QUAY_IO_USER }}
password: ${{ secrets.REGISTRY_QUAY_IO_PASSWORD }}

- name: Push iib-message-broker to quay.io
id: push-iib-message-broker
uses: redhat-actions/[email protected]
with:
image: ${{ steps.build-iib-message-broker.outputs.image }}
tags: ${{ steps.build-iib-message-broker.outputs.tags }}
registry: quay.io/exd-guild-hello-operator
username: ${{ secrets.REGISTRY_QUAY_IO_USER }}
password: ${{ secrets.REGISTRY_QUAY_IO_PASSWORD }}

0 comments on commit 16e722d

Please sign in to comment.