2 Commits
0.03 ... 0.05

Author SHA1 Message Date
12969b137e ci: also tag built image as latest
All checks were successful
Deploy to K8s / deploy (push) Successful in 11s
Build and Push / build (push) Successful in 5s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 13:46:49 +01:00
2c4126eac8 deploy: fix ExternalSecret namespace to gateway-cert-operator-system
All checks were successful
Deploy to K8s / deploy (push) Successful in 11s
Build and Push / build (push) Successful in 4s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 13:42:38 +01:00
2 changed files with 6 additions and 4 deletions

View File

@@ -30,10 +30,12 @@ jobs:
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
TAG=${{ inputs.tag }} TAG=${{ inputs.tag }}
fi fi
IMAGE=gitea.home.hrajfrisbee.cz/${{ github.repository }}:$TAG REPO=gitea.home.hrajfrisbee.cz/${{ github.repository }}
docker build -f Dockerfile \ docker build -f Dockerfile \
--build-arg GIT_TAG=$TAG \ --build-arg GIT_TAG=$TAG \
--build-arg GIT_COMMIT=${{ github.sha }} \ --build-arg GIT_COMMIT=${{ github.sha }} \
--build-arg BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) \ --build-arg BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) \
-t $IMAGE . -t $REPO:$TAG \
docker push $IMAGE -t $REPO:latest .
docker push $REPO:$TAG
docker push $REPO:latest

View File

@@ -2,7 +2,7 @@ apiVersion: external-secrets.io/v1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
name: gitea-registry name: gitea-registry
namespace: fujarna namespace: gateway-cert-operator-system
spec: spec:
refreshInterval: 1h refreshInterval: 1h
secretStoreRef: secretStoreRef: