We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f968a commit 390241dCopy full SHA for 390241d
.github/workflows/ci.yml
@@ -206,6 +206,14 @@ jobs:
206
docker logs piping
207
# Delete container
208
docker rm -f piping
209
+ - name: Push if branch is develop
210
+ if: github.ref == 'refs/heads/develop'
211
+ run: |
212
+ set -eu
213
+ echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u nwtgck --password-stdin
214
+ GIT_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}
215
+ docker tag piping-server-rust nwtgck/piping-server-rust:${GIT_BRANCH}
216
+ docker push nwtgck/piping-server-rust:${GIT_BRANCH}
217
218
release_if_tag_exits:
219
needs:
0 commit comments