Skip to content

Commit 62922ef

Browse files
authored
Fix GitHub action workflow file (#739)
1 parent cf44084 commit 62922ef

File tree

1 file changed

+29
-31
lines changed

1 file changed

+29
-31
lines changed

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

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
context: .
7676
push: true
7777
tags: ${{ steps.prepare-docker-image-tag.outputs.tags }}
78-
build_args: VERSION=${{ steps.tag.outputs.tag }}
78+
build-args: VERSION=${{ steps.tag.outputs.tag }}
7979

8080
- name: Login to Quay registry
8181
uses: docker/login-action@v2
@@ -96,37 +96,35 @@ jobs:
9696
context: .
9797
push: true
9898
tags: ${{ steps.prepare-quay-image-tag.outputs.tags }}
99-
build_args: VERSION=${{ steps.tag.outputs.tag }}
99+
build-args: VERSION=${{ steps.tag.outputs.tag }}
100100

101-
- name: Now Prepare RedHadConnect image
102-
uses: ./.github/actions/gen-install-scripts
103-
with:
104-
IMAGE_URL: ${{ env.REDHAT_RELEASE_REGISTRY }}/${{ env.REDHAT_OPERATOR_REPO }}:${{ env.VERSION }}
105-
VERSION: ${{ env.VERSION }}
106-
ENV: prod
107-
108-
109-
- name: Login to RedHat registry
110-
uses: docker/login-action@v2
111-
with:
112-
registry: ${{ env.REDHAT_SCAN_RELEASE_REGISTRY }}
113-
username: unused
114-
password: ${{ secrets.REDHAT_REGISTRY_PASSWORD }}
115-
- name: Prepare docker Quay image tag
116-
id: prepare-redhat-image-tag
117-
run: |
118-
REPOSITORY=${{ env.REDHAT_SCAN_OPERATOR_REPO }}
119-
TAG=${{ steps.tag.outputs.version }}
120-
TAGS="${REPOSITORY}:${TAG}"
121-
echo "tags=$TAGS" >> $GITHUB_OUTPUT
122-
- name: Push Atlas Operator to RedHat Connect
123-
uses: docker/build-push-action@v3
124-
with:
125-
context: .
126-
push: true
127-
tags: ${{ steps.prepare-redhat-image-tag.outputs.tags }}
128-
labels: version=${{ steps.tag.outputs.version }}
129-
build_args: VERSION=${{ steps.tag.outputs.tag }}
101+
# - name: Now Prepare RedHadConnect image
102+
# uses: ./.github/actions/gen-install-scripts
103+
# with:
104+
# IMAGE_URL: ${{ env.REDHAT_RELEASE_REGISTRY }}/${{ env.REDHAT_OPERATOR_REPO }}:${{ env.VERSION }}
105+
# VERSION: ${{ env.VERSION }}
106+
# ENV: prod
107+
# - name: Login to RedHat registry
108+
# uses: docker/login-action@v2
109+
# with:
110+
# registry: ${{ env.REDHAT_SCAN_RELEASE_REGISTRY }}
111+
# username: unused
112+
# password: ${{ secrets.REDHAT_REGISTRY_PASSWORD }}
113+
# - name: Prepare docker RedHat image tag
114+
# id: prepare-redhat-image-tag
115+
# run: |
116+
# REPOSITORY=${{ env.REDHAT_SCAN_OPERATOR_REPO }}
117+
# TAG=${{ steps.tag.outputs.version }}
118+
# TAGS="${REPOSITORY}:${TAG}"
119+
# echo "tags=$TAGS" >> $GITHUB_OUTPUT
120+
# - name: Push Atlas Operator to RedHat Connect
121+
# uses: docker/build-push-action@v3
122+
# with:
123+
# context: .
124+
# push: true
125+
# tags: ${{ steps.prepare-redhat-image-tag.outputs.tags }}
126+
# labels: version=${{ steps.tag.outputs.version }}
127+
# build_args: VERSION=${{ steps.tag.outputs.tag }}
130128

131129
- name: Create Release
132130
id: create_release

0 commit comments

Comments
 (0)