Skip to content

Commit

Permalink
Build multi-arch images when releasing
Browse files Browse the repository at this point in the history
- Push the latest tag as well

Signed-off-by: Christian M. Adams <[email protected]>
  • Loading branch information
rooftopcellist committed Jan 8, 2024
1 parent e1db128 commit 11793a6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 11793a6

Please sign in to comment.