Add Docker Hub login and push steps to GitHub Actions workflow
Some checks failed
Build Docker Image / build (push) Failing after 33s

This commit is contained in:
2025-12-16 09:24:21 +01:00
parent 62b1e4c6ef
commit 89bc15a4a9

View File

@@ -14,3 +14,13 @@ jobs:
- name: Build Docker image - name: Build Docker image
run: | run: |
docker build -t skoszewski/azure-cli:latest . docker build -t skoszewski/azure-cli:latest .
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ variables.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Push Docker image to Docker Hub
run: |
docker push skoszewski/azure-cli:latest