fix: use correct DockerHub secrets and github context in workflow
Build and Push Docker Images / build (api) (push) Failing after 17s
Details
Build and Push Docker Images / build (web) (push) Failing after 31s
Details
Build and Push Docker Images / build (worker) (push) Failing after 17s
Details
Build and Push Docker Images / deploy (push) Has been skipped
Details
Build and Push Docker Images / build (api) (push) Failing after 17s
Details
Build and Push Docker Images / build (web) (push) Failing after 31s
Details
Build and Push Docker Images / build (worker) (push) Failing after 17s
Details
Build and Push Docker Images / deploy (push) Has been skipped
Details
This commit is contained in:
parent
d43ec79431
commit
aebfc60c3e
|
|
@ -29,19 +29,19 @@ jobs:
|
||||||
- name: Set up Docker config
|
- name: Set up Docker config
|
||||||
run: |
|
run: |
|
||||||
mkdir -p .docker
|
mkdir -p .docker
|
||||||
echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$(echo -n "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" | base64 | tr -d '\n')\"}}}" > .docker/config.json
|
echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$(echo -n "frankchine:${{ secrets.DOCKERHUB_TOKEN }}" | base64 | tr -d '\n')\"}}}" > .docker/config.json
|
||||||
|
|
||||||
- name: Build and Push with Kaniko
|
- name: Build and Push with Kaniko
|
||||||
uses: docker://gcr.io/kaniko-project/executor:debug
|
uses: docker://gcr.io/kaniko-project/executor:debug
|
||||||
with:
|
with:
|
||||||
args: >-
|
args: >-
|
||||||
--dockerfile=apps/${{ matrix.component }}/Dockerfile
|
--dockerfile=apps/${{ matrix.component }}/Dockerfile
|
||||||
--context=dir://${{ gitea.workspace }}
|
--context=dir://${{ github.workspace }}
|
||||||
--destination=frankchine/geocrop-${{ matrix.component }}:${{ gitea.sha }}
|
--destination=frankchine/geocrop-${{ matrix.component }}:${{ github.sha }}
|
||||||
--destination=frankchine/geocrop-${{ matrix.component }}:latest
|
--destination=frankchine/geocrop-${{ matrix.component }}:latest
|
||||||
--cache=true
|
--cache=true
|
||||||
env:
|
env:
|
||||||
DOCKER_CONFIG: ${{ gitea.workspace }}/.docker
|
DOCKER_CONFIG: ${{ github.workspace }}/.docker
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
trigger ci v13
|
trigger ci v14
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue