Compare commits

..

1 Commits

Author SHA1 Message Date
Flea Flicker cbc0408d29 ci: push Docker images to Gitea registry (git.farh.net)
CI / build-and-push (pull_request) Has been cancelled
CI / deploy-dev (pull_request) Has been cancelled
CI / deploy-uat (pull_request) Has been cancelled
2026-05-23 15:37:04 +00:00
+6 -4
View File
@@ -45,8 +45,8 @@ jobs:
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: git.farh.net
username: ${{ github.actor }} username: cartsnitch
password: ${{ secrets.GITEA_TOKEN }} password: ${{ secrets.GITEA_TOKEN }}
- name: Extract metadata - name: Extract metadata
@@ -66,6 +66,8 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Create git tag - name: Create git tag
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
@@ -108,7 +110,7 @@ jobs:
- name: Update auth image tag in dev overlay - name: Update auth image tag in dev overlay
run: | run: |
cd infra/apps/overlays/dev cd infra/apps/overlays/dev
kustomize edit set image ghcr.io/cartsnitch/auth=git.farh.net/cartsnitch/auth:${{ steps.tag.outputs.tag }} kustomize edit set image ghcr.io/cartsnitch/auth:${{ steps.tag.outputs.tag }}
- name: Commit and push to infra - name: Commit and push to infra
run: | run: |
@@ -156,7 +158,7 @@ jobs:
- name: Update auth image tag in uat overlay - name: Update auth image tag in uat overlay
run: | run: |
cd infra/apps/overlays/uat cd infra/apps/overlays/uat
kustomize edit set image ghcr.io/cartsnitch/auth=git.farh.net/cartsnitch/auth:${{ steps.tag.outputs.tag }} kustomize edit set image ghcr.io/cartsnitch/auth:${{ steps.tag.outputs.tag }}
- name: Commit and push to infra - name: Commit and push to infra
run: | run: |