Test local image push

This commit is contained in:
Pal Kerecsenyi 2024-01-14 21:55:28 +00:00
parent 95179ff7cc
commit a202363e6e
Signed by: palk
GPG Key ID: 6891661E25394C2C

View File

@ -16,5 +16,5 @@ jobs:
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
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" --destination "gitea-http.gitea.svc.cluster.local:3000/${{ github.repository }}:${{ github.sha }}" --cache=true
name: Build and publish container