Compare commits

..

1 Commits

Author SHA1 Message Date
deploy-debbie[bot] eec69b5a37 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>
2026-03-18 18:16:40 +00:00
3 changed files with 3 additions and 6 deletions
+1
View File
@@ -52,6 +52,7 @@ jobs:
- uses: actions/checkout@v4
- name: Log in to GHCR
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
+2 -2
View File
@@ -1,5 +1,5 @@
# Stage 1: Build
FROM ghcr.io/cartsnitch/mirror/node:20-alpine AS build
FROM node:20-alpine AS build
WORKDIR /app
@@ -10,7 +10,7 @@ COPY . .
RUN npm run build
# Stage 2: Production
FROM ghcr.io/cartsnitch/mirror/nginx:stable-alpine AS prod
FROM nginx:stable-alpine AS prod
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
-4
View File
@@ -1,4 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>cartsnitch/.github:renovate-config"]
}