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:
commit
bb5ea065fa
2 changed files with 11 additions and 3 deletions
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
|
@ -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?
|
||||
|
|
|
|||
6
.github/workflows/build-containers.yml
vendored
6
.github/workflows/build-containers.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue