0
0
Fork 0
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:
Adrian Dvergsdal 2020-07-19 23:02:07 +02:00
parent e8a5d67e43
commit d6cb031f27
No known key found for this signature in database
GPG key ID: C1E9E2D9552A42D2

View file

@ -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