mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Logout from docker registry when done
This commit is contained in:
parent
e8a5d67e43
commit
d6cb031f27
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -72,6 +72,7 @@ jobs:
|
|||
-u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
|
||||
|
||||
docker push $IMAGE_NAME # no tags specified to include all tags
|
||||
docker logout
|
||||
|
||||
- name: Push images to GitHub registry
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
@ -85,4 +86,5 @@ jobs:
|
|||
docker tag $IMAGE_NAME:alpine $TAG_ALPINE
|
||||
docker push $TAG_DEBIAN
|
||||
docker push $TAG_ALPINE
|
||||
docker logout docker.pkg.github.com
|
||||
|
||||
|
|
Loading…
Reference in a new issue