mirror of https://github.com/buster-so/buster.git
docker release points to gh
This commit is contained in:
parent
ded67c4fc8
commit
881cd5913a
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Placeholder for Docker Hub username/organization or GHCR owner
|
# Placeholder for Docker Hub username/organization or GHCR owner
|
||||||
DOCKER_REGISTRY_OWNER: your-docker-registry-owner
|
DOCKER_REGISTRY_OWNER: ghcr.io/${{ github.repository_owner }}
|
||||||
API_IMAGE_NAME: api-service
|
API_IMAGE_NAME: api-service
|
||||||
WEB_IMAGE_NAME: web-service
|
WEB_IMAGE_NAME: web-service
|
||||||
|
|
||||||
|
@ -75,8 +75,9 @@ jobs:
|
||||||
- name: Log in to Docker Registry
|
- name: Log in to Docker Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }} # Or your registry specific username e.g., ${{ github.actor }} for GHCR
|
registry: ghcr.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }} # Or your registry specific token e.g., ${{ secrets.GITHUB_TOKEN }} for GHCR
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push API image
|
- name: Build and push API image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
@ -128,8 +129,9 @@ jobs:
|
||||||
- name: Log in to Docker Registry
|
- name: Log in to Docker Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }} # Or your registry specific username
|
registry: ghcr.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }} # Or your registry specific token
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Web image
|
- name: Build and push Web image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
|
Loading…
Reference in New Issue