Push image to Dockerhub instead of the private registry
All checks were successful
Build docker image / build-static-assets (pull_request) Successful in 16m32s
All checks were successful
Build docker image / build-static-assets (pull_request) Successful in 16m32s
This commit is contained in:
parent
38d50a5c3d
commit
8ede8060f3
@ -13,12 +13,11 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to the private Docker registry
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ secrets.PRIVATE_REGISTRY_HOST }}
|
||||
username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user