Skip to content

Commit

Permalink
#965: Fixed Publish Docker Test Container GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Sep 27, 2024
1 parent 68017d7 commit 7c599ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push_docker_test_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:
fetch-depth: 0
submodules: 'recursive'
- name: Build TestContainer
run: ./exaslct build-test-container --force-rebuild
run: exaslct build-test-container --force-rebuild
- name: Push TestContainer image
if: ${{ (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/main') }}
run: |
./exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true
exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true
env: # Set the secret as an input
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
SOURCE_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
- name: Push ci-release-test TestContainer image
if: ${{ (github.ref != 'refs/heads/master') && (github.ref != 'refs/heads/main') }}
run: |
./exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true --source-docker-tag-prefix ci_release_test --target-docker-tag-prefix ci_release_test
exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true --source-docker-tag-prefix ci_release_test --target-docker-tag-prefix ci_release_test
env: # Set the secret as an input
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
Expand Down
6 changes: 5 additions & 1 deletion doc/changes/changes_8.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ This release uses version 1.0.0 of the container tool.

## Doc

- #954: added release checklist
- #954: added release checklist

## Bugs

- #965: Fixed Publish Docker Test Container GH workflow

0 comments on commit 7c599ce

Please sign in to comment.