docker release points to gh

This commit is contained in:
dal 2025-05-06 10:45:58 -06:00
parent ded67c4fc8
commit 881cd5913a
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 7 additions and 5 deletions

View File

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