Skip to content

Commit

Permalink
Update call-docker-build-web.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
govindkailas authored Jun 21, 2024
1 parent c280967 commit 7a39ec8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/call-docker-build-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,30 @@ jobs:
packages: write # needed to push docker image to ghcr.io
pull-requests: write # needed to create and update comments in PRs

secrets:
# secrets:

# Only needed if with:dockerhub-enable is true below
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
# # Only needed if with:dockerhub-enable is true below
# dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}

# Only needed if with:dockerhub-enable is true below
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
# # Only needed if with:dockerhub-enable is true below
# dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}

with:

### REQUIRED
### ENABLE ONE OR BOTH REGISTRIES
### tell docker where to push.
### NOTE if Docker Hub is set to true, you must set secrets above and also add account/repo/tags below
dockerhub-enable: true
# dockerhub-enable: true
ghcr-enable: true

### REQUIRED
### A list of the account/repo names for docker build. List should match what's enabled above
### defaults to:
image-names: |
ghcr.io/dockersamples/wordsmith-web
dockersamples/wordsmith-web
dockersamples/k8s-wordsmith-web
# image-names: |
# ghcr.io/dockersamples/wordsmith-web
# dockersamples/wordsmith-web
# dockersamples/k8s-wordsmith-web

### REQUIRED set rules for tagging images, based on special action syntax:
### https://github.com/docker/metadata-action#tags-input
Expand Down

0 comments on commit 7a39ec8

Please sign in to comment.