Merge pull request #232 from gitroomhq/ci-actions-containers-latest-tag

ci: Add latest tag to containers with each build
This commit is contained in:
James Read 2024-09-11 11:11:59 +01:00 committed by GitHub
commit bb5ea065fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 3 deletions

View File

@ -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?

View File

@ -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