login to ghcr.io and build there

This commit is contained in:
Felix Kunde
2025-10-27 14:28:08 +01:00
parent c87a6764d4
commit 4f172ff6cb
3 changed files with 8 additions and 5 deletions
+1
View File
@@ -66,6 +66,7 @@ docker: ${DOCKERDIR}/${DOCKERFILE}
echo "Version ${VERSION}"
echo "CDP tag ${CDP_TAG}"
echo "git describe $(shell git describe --tags --always --dirty)"
docker login ghcr.io -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}"
docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)$(DEBUG_FRESH)$(DEBUG_POSTFIX)" -f "${DOCKERDIR}/${DOCKERFILE}" --build-arg VERSION="${VERSION}" .
indocker-race: