-
Notifications
You must be signed in to change notification settings - Fork 3
#34:Upload docker image for main and for release and latest #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
tomuben
merged 12 commits into
main
from
ci/34/fix_docker_image_labels_for_merges_to_main_and_for_release_final
Jun 16, 2021
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
553861d
#34:Upload docker image for main and for release and latest
tomuben a8b0963
For testing, trigger on created
tomuben dc9ad7f
For testing, trigger on created
tomuben a887d3b
For testing, trigger on created
tomuben 01463ca
Rollback to action type "pubished" only.
tomuben ab86bbc
1. Syntax fixes
tomuben 79cc4ca
Changed push_docker_runner_image.sh to accept more than one parameter
tomuben 0049d1d
Small fix for testing
tomuben c15a0cf
Revert test names.
tomuben 5b0b57f
Added documentation to push_docker_runner_image.sh
tomuben e51f0de
Removed "created" trigger for releases.
tomuben 407300b
Changed quotes in release.yml
tomuben File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
|
|
||
| jobs: | ||
|
|
||
| publish-release: | ||
| runs-on: ubuntu-latest | ||
| environment: publish | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Build new Docker image | ||
| run: "bash starter_scripts/build_docker_runner_image.sh" | ||
| - name: Docker login | ||
| run: echo "$SECRET_DOCKER_TOKEN" | docker login --username "$SECRET_DOCKER_USER_NAME" --password-stdin | ||
| env: # Set the secret as an input | ||
| SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }} | ||
| SECRET_DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | ||
| - name: Push new Docker images | ||
| run: bash starter_scripts/push_docker_runner_image.sh latest "${{ github.event.release.tag_name }}" |
2 changes: 1 addition & 1 deletion
2
starter_scripts/checksums/push_docker_runner_image.sh.sha512sum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 9740b3668423869966068799090d3ca78a121c424c99c8704b9fcd8ea9152ca4dcc0d046216beed71ba58df41411b7053fc06c096ccef3dd385e614c579f867b push_docker_runner_image.sh | ||
| a779c2e4c65051d7baa865c24248bbd23faf4998d3d62638181930b81f2bbb209e2a26defbe473f203c15154c15eda5e2e44cfad0533fe8630d619dbbc38699b push_docker_runner_image.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.