Skip to content

Commit 9af86b9

Browse files
CLOUDP-167111: Add certified tag (#919)
Added certified image tag
1 parent c42554b commit 9af86b9

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/release-post-merge.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@ jobs:
3232
version=$(echo $BRANCH | awk -F '/' '{print $2}')
3333
fi
3434
35+
3536
echo "VERSION:$version"
3637
tag="v${version}"
38+
certified_version="${version}-certified"
3739
echo "version=$version" >> $GITHUB_OUTPUT
3840
echo "tag=$tag" >> $GITHUB_OUTPUT
41+
echo "certified_version=$certified_version" >> $GITHUB_OUTPUT
3942
- name: Trigger helm post release workflow
4043
# Please provide a token with write access to the repository into secrets.HELM_REPO_TOKEN
4144
run: |
@@ -55,7 +58,18 @@ jobs:
5558
uses: ./.github/actions/build-push-image
5659
with:
5760
repository: ${{ env.IMAGE_REPOSITORY }}
58-
version: ${{ steps.tag.outputs.version}}
61+
version: ${{ steps.tag.outputs.version }}
62+
platforms: linux/amd64,linux/arm64
63+
docker_username: ${{ secrets.DOCKER_USERNAME }}
64+
docker_password: ${{ secrets.DOCKER_PASSWORD }}
65+
push_to_quay: true
66+
quay_username: mongodb+mongodb_atlas_kubernetes
67+
quay_password: ${{ secrets.QUAY_PASSWORD }}
68+
- name: Build and Push certified image
69+
uses: ./.github/actions/build-push-image
70+
with:
71+
repository: ${{ env.IMAGE_REPOSITORY }}
72+
version: ${{ steps.tag.outputs.certified_version }}
5973
platforms: linux/amd64,linux/arm64
6074
docker_username: ${{ secrets.DOCKER_USERNAME }}
6175
docker_password: ${{ secrets.DOCKER_PASSWORD }}
@@ -66,7 +80,7 @@ jobs:
6680
uses: ./.github/actions/certify-openshift-images
6781
with:
6882
repository: ${{ env.IMAGE_REPOSITORY }}
69-
version: ${{ steps.tag.outputs.version}}
83+
version: ${{ steps.tag.outputs.certified_version }}
7084
quay_password: ${{ secrets.QUAY_PASSWORD }}
7185
rhcc_token: ${{ secrets.RH_CERTIFICATION_PYXIS_API_TOKEN }}
7286
rhcc_project: ${{ secrets.RH_CERTIFICATION_OSPID }}

0 commit comments

Comments
 (0)