Skip to content

Commit

Permalink
chore: change docker id for public to hub
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Aug 5, 2024
1 parent bfe26ce commit 4d7f343
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node-docker-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
images: ${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
Expand All @@ -111,8 +111,8 @@ jobs:
context: node
push: true
tags: |
${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.inc_version.outputs.new_version }}
${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}:latest
${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}:${{ steps.inc_version.outputs.new_version }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
USER_ID=1000
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php-docker-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
images: ${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
Expand All @@ -111,8 +111,8 @@ jobs:
context: php
push: true
tags: |
${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.inc_version.outputs.new_version }}
${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}:latest
${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}:${{ steps.inc_version.outputs.new_version }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
PHP_VERSION=8.3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/worker-docker-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
images: ${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
Expand All @@ -109,8 +109,8 @@ jobs:
context: worker
push: true
tags: |
${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.inc_version.outputs.new_version }}
${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}:latest
${{ env.DOCKERHUB_ID }}/${{ env.IMAGE_NAME }}:${{ steps.inc_version.outputs.new_version }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
PHP_VERSION=8.3
Expand Down

0 comments on commit 4d7f343

Please sign in to comment.