-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build multi-arch images when releasing
- Push the latest tag as well Signed-off-by: Christian M. Adams <[email protected]>
- Loading branch information
1 parent
e1db128
commit 11793a6
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,9 +28,16 @@ jobs: | |
git tag ${{ github.event.inputs.version }} | ||
git push origin ${{ github.event.inputs.version }} | ||
- name: Log into registry quay.io | ||
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 | ||
with: | ||
registry: quay.io/ansible/ | ||
username: ${{ secrets.QUAY_USER }} | ||
password: ${{ secrets.QUAY_TOKEN }} | ||
|
||
- name: Build Operator Image | ||
run: | | ||
IMG=eda-server-operator:${{ github.event.inputs.version }} make docker-build | ||
IMG=eda-server-operator:${{ github.event.inputs.version }} make docker-buildx | ||
docker tag eda-server-operator:${{ github.event.inputs.version }} eda-server-operator:latest | ||
- name: Push Operator Image | ||
|
@@ -42,6 +49,15 @@ jobs: | |
username: ${{ secrets.QUAY_USER }} | ||
password: ${{ secrets.QUAY_TOKEN }} | ||
|
||
- name: Push Operator Image | ||
uses: redhat-actions/[email protected] | ||
with: | ||
image: eda-server-operator | ||
tags: latest | ||
registry: quay.io/ansible/ | ||
username: ${{ secrets.QUAY_USER }} | ||
password: ${{ secrets.QUAY_TOKEN }} | ||
|
||
- name: Install operator-sdk | ||
run: | | ||
OPERATOR_SDK_VERSION=v1.23.0 | ||
|