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