refactor: move REGISTRY environment variable to job scope and correct step indentation.
Build & Push Hospitality / build-and-push (push) Successful in 2m10s

This commit is contained in:
steinhelge
2025-11-25 19:51:35 +01:00
parent bdfdcbe0f7
commit 07af11b541
+3 -4
View File
@@ -7,12 +7,11 @@ on:
- dev
env:
REGISTRY: gitea.theriise.net/steinhelge
jobs:
build-and-push:
runs-on: self-hosted
env:
REGISTRY: gitea.theriise.net/steinhelge
steps:
- name: Checkout
@@ -79,7 +78,7 @@ jobs:
run: |
docker push $REGISTRY/hospitality-api:${TAG}
- name: Deploy containers
- name: Deploy containers
run: |
if [ "$TAG" = "dev" ]; then
echo "Deploying DEV til /srv/hospitality-dev"