general: also release docker image to GitHub container registry
This commit is contained in:
parent
462d76a2d0
commit
4bd7a6bb95
11
.github/workflows/docker-develop.yaml
vendored
11
.github/workflows/docker-develop.yaml
vendored
@ -19,6 +19,13 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build frontend docker image
|
- name: Build frontend docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
@ -28,6 +35,8 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
xddxdd/bird-lg-go:develop
|
xddxdd/bird-lg-go:develop
|
||||||
xddxdd/bird-lg-go:develop-${{ github.sha }}
|
xddxdd/bird-lg-go:develop-${{ github.sha }}
|
||||||
|
ghcr.io/xddxdd/bird-lg-go:frontend-develop
|
||||||
|
ghcr.io/xddxdd/bird-lg-go:frontend-develop-${{ github.sha }}
|
||||||
|
|
||||||
- name: Build proxy docker image
|
- name: Build proxy docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
@ -38,3 +47,5 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
xddxdd/bird-lgproxy-go:develop
|
xddxdd/bird-lgproxy-go:develop
|
||||||
xddxdd/bird-lgproxy-go:develop-${{ github.sha }}
|
xddxdd/bird-lgproxy-go:develop-${{ github.sha }}
|
||||||
|
ghcr.io/xddxdd/bird-lg-go:proxy-develop
|
||||||
|
ghcr.io/xddxdd/bird-lg-go:proxy-develop-${{ github.sha }}
|
||||||
|
9
.github/workflows/docker-release.yaml
vendored
9
.github/workflows/docker-release.yaml
vendored
@ -18,6 +18,13 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build frontend docker image
|
- name: Build frontend docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
@ -26,6 +33,7 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
xddxdd/bird-lg-go:latest
|
xddxdd/bird-lg-go:latest
|
||||||
|
ghcr.io/xddxdd/bird-lg-go:frontend
|
||||||
|
|
||||||
- name: Build proxy docker image
|
- name: Build proxy docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
@ -35,3 +43,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
xddxdd/bird-lgproxy-go:latest
|
xddxdd/bird-lgproxy-go:latest
|
||||||
|
ghcr.io/xddxdd/bird-lg-go:proxy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user