add docker login and enable push

This commit is contained in:
2024-02-07 21:26:35 -06:00
parent 9ef3c98289
commit 06d7e31ff6
+6 -6
View File
@@ -15,15 +15,15 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: false
push: true
tags: jwetzell/guacamole:latest
cache-from: type=gha
cache-to: type=gha,mode=max