Skip to content

Commit ca9c06e

Browse files
authored
[CICD] Fix issue when trying to build rqd from scratch on release step (#1877)
Changed the release pipeline to simple tag and publish the previously fetch image
1 parent 0cf777b commit ca9c06e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release-pipeline.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,12 @@ jobs:
209209
password: ${{ secrets.DOCKER_PASS }}
210210

211211
- name: Rebuild and push Docker image
212-
uses: docker/build-push-action@v3
213-
with:
214-
file: ${{ matrix.component }}/Dockerfile
215-
tags: opencue/${{ matrix.component }}:${{ env.BUILD_ID }},opencue/${{ matrix.component }}:latest
216-
context: .
217-
push: true
212+
run: |
213+
set -e
214+
docker tag opencuebuild/${{ matrix.component }}:${BUILD_ID} opencue/${{ matrix.component }}:${{ env.BUILD_ID }}
215+
docker push opencue/${{ matrix.component }}:${{ env.BUILD_ID }}
216+
docker tag opencuebuild/${{ matrix.component }}:${BUILD_ID} opencue/${{ matrix.component }}:latest
217+
docker push opencue/${{ matrix.component }}:latest
218218
219219
# This step has been failing with permission issues.
220220
# Commenting this out temporarily to unblock the release of v1.4

0 commit comments

Comments
 (0)