From fdb2f1d465872c40975f4b72bd44c450159e7c59 Mon Sep 17 00:00:00 2001 From: Sigri Date: Mon, 29 Jan 2024 23:13:29 +0100 Subject: [PATCH] Add branch into registry tag --- .github/workflows/preprod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preprod.yml b/.github/workflows/preprod.yml index ceea419..c6fed72 100644 --- a/.github/workflows/preprod.yml +++ b/.github/workflows/preprod.yml @@ -24,7 +24,7 @@ jobs: with: context: . push: true - tags: registry.realt.community/realtstats_preprod:latest + tags: registry.realt.community/stats-realt:${{ github.ref_name }} - name: Configure SSH run: | @@ -46,4 +46,4 @@ jobs: SSH_PORT: ${{ secrets.SSH_PORT }} - name: pull & up! - run: ssh staging 'cd /home/realt/docker/RealT-Stats-Preprod && git pull && docker compose --file docker-compose-preprod.yml pull && docker compose --file docker-compose-preprod.yml up -d' \ No newline at end of file + run: ssh staging 'cd /home/realt/docker/RealT-Stats-Preprod && git pull && docker compose --file docker-compose-preprod.yml pull && docker compose --file docker-compose-preprod.yml up -d'