ci: release pipeline on tag
All checks were successful
renovate / renovate (push) Successful in 29s
Build and Deploy / Build-Container-Image (push) Successful in 29s

This commit is contained in:
Alex Wellnitz 2025-03-18 14:34:29 +01:00
parent 67d089d850
commit 3ec66f5186

View File

@ -1,7 +1,9 @@
name: Build and Deploy name: Build and Deploy
run-name: ${{ gitea.actor }} is building container run-name: ${{ gitea.actor }} is building container
on: [push] on:
push:
tags:
- "*"
jobs: jobs:
Build-Container-Image: Build-Container-Image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -60,15 +62,3 @@ jobs:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
DOCKER_TLS_VERIFY: 1 DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: "/certs/client" DOCKER_CERT_PATH: "/certs/client"
Deployment:
runs-on: ubuntu-latest
needs: Build-Container-Image
steps:
- name: Update image tag for container alexohneander-zola in deployment.yaml
uses: loveholidays/gitops-action-yaml-updater@v1.0
with:
mode: IMAGE_TAG
container-name: alexohneander-zola
new-image-tag: ${{ github.sha }}
dir: deploy/
files: deployment.yaml