feat: remove Gitea registry login step from build workflow
Some checks failed
Build And Publish Production Image / Build And Publish Production Image (push) Failing after 6s
Some checks failed
Build And Publish Production Image / Build And Publish Production Image (push) Failing after 6s
This commit is contained in:
@@ -50,9 +50,6 @@ jobs:
|
|||||||
if: ${{ secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }}
|
if: ${{ secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }}
|
||||||
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login docker.io -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
|
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login docker.io -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
- name: Log in to Gitea registry
|
|
||||||
run: echo "${REGISTRY_PASSWORD}" | docker login "${REGISTRY}" -u "${REGISTRY_USERNAME}" --password-stdin
|
|
||||||
|
|
||||||
- name: Build all-in-one image
|
- name: Build all-in-one image
|
||||||
run: |
|
run: |
|
||||||
docker build -t ${IMAGE_NAME}:latest" -f Dockerfile.allinone .
|
docker build -t ${IMAGE_NAME}:latest" -f Dockerfile.allinone .
|
||||||
|
|||||||
Reference in New Issue
Block a user