Try again for local container operation
This commit is contained in:
parent
5a2ceb3616
commit
d480828cee
4
.github/workflows/docker-build.yml
vendored
4
.github/workflows/docker-build.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: apk add skopeo
|
- run: apk add skopeo
|
||||||
name: Instal authentication helper
|
name: Instal authentication helper
|
||||||
- run: skopeo login --compat-auth-file /kaniko/.docker/config.json -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} gitea.palk.me
|
- run: skopeo login --compat-auth-file /kaniko/.docker/config.json -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} --tls-verify=false gitea-http.gitea.svc.cluster.local:3000
|
||||||
name: Login to container registry
|
name: Login to container registry
|
||||||
- run: /kaniko/executor --context "${{ github.workspace }}" --dockerfile "${{ github.workspace }}/Dockerfile" --destination "gitea.palk.me/${{ github.repository }}:${{ github.sha }}" --cache=true
|
- run: /kaniko/executor --context "${{ github.workspace }}" --dockerfile "${{ github.workspace }}/Dockerfile" --insecure --destination "gitea-http.gitea.svc.cluster.local:3000/${{ github.repository }}:${{ github.sha }}" --cache=true
|
||||||
name: Build and publish container
|
name: Build and publish container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user