Merge pull request 'Push image to Dockerhub instead of the private registry' (#3) from push-dockerhub into main
Some checks failed
Build docker image / build-static-assets (push) Failing after 12m25s
Some checks failed
Build docker image / build-static-assets (push) Failing after 12m25s
Reviewed-on: #3
This commit is contained in:
commit
f31abd5610
@ -13,12 +13,11 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Login to the private Docker registry
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ secrets.PRIVATE_REGISTRY_HOST }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user