fix(ci): remove unnecessary Docker Hub login step

The build-and-push job had an unconditional Docker Hub login step that
was failing because DOCKERHUB_USERNAME and DOCKERHUB_TOKEN secrets are
not provisioned. Since we push images to GHCR (not Docker Hub), this
step is not needed.

Closes cartsnitch/infra#5

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
deploy-debbie[bot]
2026-03-18 18:16:40 +00:00
committed by GitHub
parent 265f2ae654
commit eec69b5a37
-6
View File
@@ -51,12 +51,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Log in to GHCR
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/login-action@v3