mirror of
https://github.com/gotify/server.git
synced 2026-07-01 01:44:21 +08:00
Add ghcr.io images
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -46,12 +46,18 @@ jobs:
|
||||
make build-docker
|
||||
docker image ls
|
||||
echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin
|
||||
echo "$DOCKER_GHCR_PASS" | docker login ghcr.io --username "$DOCKER_GHCR_USER" --password-stdin
|
||||
docker push --all-tags gotify/server
|
||||
docker push --all-tags gotify/server-arm7
|
||||
docker push --all-tags gotify/server-arm64
|
||||
docker push --all-tags ghcr.io/gotify/server
|
||||
docker push --all-tags ghcr.io/gotify/server-arm7
|
||||
docker push --all-tags ghcr.io/gotify/server-arm64
|
||||
env:
|
||||
DOCKER_USER: ${{ secrets.DOCKER_USER }}
|
||||
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
|
||||
DOCKER_GHCR_USER: ${{ secrets.DOCKER_GHCR_USER }}
|
||||
DOCKER_GHCR_PASS: ${{ secrets.DOCKER_GHCR_PASS }}
|
||||
- if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user