log in to docker hub actions added for ci-build-on-merge workflow

This commit is contained in:
Stilian Boyadzhiev 2025-05-30 11:36:35 +03:00
parent 81311324ab
commit 3c51927385
2 changed files with 10 additions and 10 deletions

View file

@ -22,11 +22,11 @@ jobs:
uses: docker/setup-buildx-action@v3
# Log in to Docker Hub store secrets in repo → Settings → Secrets and variables → Actions
# - name: Log in to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Build (and optionally push) the image
- name: Build and push image

View file

@ -22,11 +22,11 @@ jobs:
uses: docker/setup-buildx-action@v3
# Log in to Docker Hub store secrets in repo → Settings → Secrets and variables → Actions
# - name: Log in to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Build (and optionally push) the image
- name: Build and push image