Rename repo/image path to stan/website; retag legacy images on rollback
All checks were successful
Deploy production / deploy (push) Successful in 2m23s

This commit is contained in:
2026-10-23 22:53:23 +00:00
parent 45f2bbb198
commit 88837af624
5 changed files with 13 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ jobs:
context: .
push: false
load: true
tags: git.stanrunge.dev/stan/personal-website:${{ github.sha }}
tags: git.stanrunge.dev/stan/website:${{ github.sha }}
build-args: |
GIT_SHA=${{ github.sha }}
@@ -50,7 +50,7 @@ jobs:
if: github.event_name == 'push'
run: |
set -euo pipefail
image="git.stanrunge.dev/stan/personal-website:${{ github.sha }}"
image="git.stanrunge.dev/stan/website:${{ github.sha }}"
docker save "$image" | ssh -o BatchMode=yes deploy@172.17.0.1 'sudo docker load'
- name: Back up, migrate and deploy