From 8c6d6393b688c303cb7617ded4114125e1f2fe35 Mon Sep 17 00:00:00 2001 From: Rik Berkelder Date: Wed, 15 Jan 2025 02:25:45 +0100 Subject: [PATCH] also push docker images with git sha tag for easy rollbacks --- .gitea/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7b9d92e..e2e341e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -34,9 +34,8 @@ jobs: with: node-version: '20.x' - run: npm i - - run: echo ${{github.sha}} - name: Build and push uses: docker/build-push-action@v6 with: push: true - tags: git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest \ No newline at end of file + tags: git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest , git.riksolo.com/riksolo/multi-scrobbler-now-playing:${{github.sha}} \ No newline at end of file