Skip to content
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
16 changes: 10 additions & 6 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ jobs:
name: Build and push a main snapshot image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
cache: false
go-version-file: go.mod
id: go
Comment thread
coderabbitai[bot] marked this conversation as resolved.

Expand All @@ -34,7 +38,7 @@ jobs:

- name: Build Operator Image
id: build-operator-image
uses: redhat-actions/buildah-build@v2
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
with:
image: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/operator-certification-operator
tags: ${{ github.sha }} latest
Expand All @@ -46,7 +50,7 @@ jobs:

- name: Push Operator Image
id: push-operator-image
uses: redhat-actions/push-to-registry@v2
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
with:
image: operator-certification-operator
tags: ${{ steps.build-operator-image.outputs.tags }}
Expand All @@ -65,7 +69,7 @@ jobs:

- name: Build Bundle Image
id: build-bundle-image
uses: redhat-actions/buildah-build@v2
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
with:
image: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/operator-certification-operator-bundle
tags: latest
Expand All @@ -74,7 +78,7 @@ jobs:

- name: Push Bundle Image
id: push-bundle-image
uses: redhat-actions/push-to-registry@v2
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
with:
image: operator-certification-operator-bundle
tags: ${{ steps.build-bundle-image.outputs.tags }}
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
name: Build and push a tag image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
Comment thread
coderabbitai[bot] marked this conversation as resolved.

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
cache: false
go-version-file: go.mod
id: go
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- name: Set Env Tags
Expand All @@ -26,7 +30,7 @@ jobs:

- name: Build Operator Image
id: build-operator-image
uses: redhat-actions/buildah-build@v2
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
with:
image: ${{ secrets.IMAGE_REGISTRY }}/operator-certification-operator
tags: ${{ env.RELEASE_TAG }}
Expand All @@ -37,7 +41,7 @@ jobs:

- name: Push Operator Image
id: push-operator-image
uses: redhat-actions/push-to-registry@v2
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
with:
image: operator-certification-operator
tags: ${{ steps.build-operator-image.outputs.tags }}
Expand All @@ -64,7 +68,7 @@ jobs:

- name: Build Bundle Image
id: build-bundle-image
uses: redhat-actions/buildah-build@v2
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
with:
image: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/operator-certification-operator-bundle
tags: ${{ env.RELEASE_TAG }}
Expand All @@ -73,7 +77,7 @@ jobs:

- name: Push Bundle Image
id: push-bundle-image
uses: redhat-actions/push-to-registry@v2
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
with:
image: operator-certification-operator-bundle
tags: ${{ steps.build-bundle-image.outputs.tags }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ jobs:
name: sanity
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
- uses: actions/setup-go@v6
persist-credentials: false

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
cache: false
go-version-file: go.mod
id: go

Expand Down