From 09a6aec40cd4020237fdef80ea42e15c9885cb23 Mon Sep 17 00:00:00 2001 From: jamesread Date: Wed, 11 Sep 2024 11:08:37 +0100 Subject: [PATCH 1/2] ci: Add latest tag to containers with each build --- .github/workflows/build-containers.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml index 2e7b116a..a3dfadc1 100644 --- a/.github/workflows/build-containers.yml +++ b/.github/workflows/build-containers.yml @@ -39,5 +39,11 @@ jobs: docker tag localhost/postiz ghcr.io/gitroomhq/postiz-app:${{ env.DATE }} docker push ghcr.io/gitroomhq/postiz-app:${{ env.DATE }} + docker tag ghcr.io/gitroomhq/postiz-app:${{ env.DATE }} ghcr.io/gitroomhq/postiz-app:latest + docker push ghcr.io/gitroomhq/postiz-app:latest + docker tag localhost/postiz-devcontainer ghcr.io/gitroomhq/postiz-devcontainer:${{ env.DATE }} docker push ghcr.io/gitroomhq/postiz-devcontainer:${{ env.DATE }} + + docker tag ghcr.io/gitroomhq/postiz-devcontainer:${{ env.DATE }} ghcr.io/gitroomhq/postiz-devcontainer:latest + docker push ghcr.io/gitroomhq/postiz-devcontainer:latest From 89c7c7b07c65c96a00c93b0cb3bc46e2959cded7 Mon Sep 17 00:00:00 2001 From: jamesread Date: Wed, 11 Sep 2024 11:11:23 +0100 Subject: [PATCH 2/2] ci: Add latest tag to containers with each build. Fix pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d2aa2bda..b0e80b68 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,9 +1,11 @@ -# What kind of change does this PR introduce?** +# What kind of change does this PR introduce? eg: Bug fix, feature, docs update, ... -# Why was this change needed?** +# Why was this change needed? Please link to related issues when possible. -**Other information**: +# Other information: + +eg: Did you discuss this change with anybody before working on it (not required, but can be a good idea for bigger changes). Any plans for the future, etc?