Skip to content

refactor: remove the building and pushing of images from wfs #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/workflows/instascale-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ on:
mcad-version:
description: 'Published version of multi-cluster-app-dispatcher to be used as a dependency for InstaScale (for example: v0.0.0)'
required: true
is-stable:
description: 'Select if the built image should be tagged as stable'
required: true
type: boolean
quay-organization:
description: 'Quay organization used to push the built images to'
required: false
default: 'project-codeflare'

jobs:
release:
Expand Down Expand Up @@ -61,23 +53,6 @@ jobs:
- name: Test
run: go test -v ./...

# Build and push the image
- name: Login to Quay.io
uses: redhat-actions/podman-login@v1
with:
username: ${{ secrets.QUAY_ID }}
password: ${{ secrets.QUAY_TOKEN }}
registry: quay.io
- name: Image Build and Push
run: |
make image-build -e IMG=quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:${{ github.event.inputs.tag }}
make image-push -e IMG=quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:${{ github.event.inputs.tag }}
- name: Image Push as stable tag
if: ${{ inputs.is-stable }}
run: |
podman tag quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:${{ github.event.inputs.tag }} quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:stable
make image-push -e IMG=quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:stable

# Update dependencies
- name: Commit go.mod and go.sum changes to the branch
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/operator-image.yml

This file was deleted.