This commit is contained in:
Tommy 2025-01-03 14:54:55 +01:00
parent 797bdca5e5
commit c88f1abd4a
Signed by: tommy
SSH key fingerprint: SHA256:1LWgQT3QPHIT29plS8jjXc3S1FcE/4oGvsx3Efxs6Uc

View file

@ -33,14 +33,9 @@ jobs:
- name: Build and Push with Kaniko
uses: https://code.252.no/pub/kaniko-action@latest
with:
# This is the directory that contains your Dockerfile, metadata.yaml, ci/version.sh, etc.
context: ${{ steps.set-context.outputs.context_dir }}
# Kaniko will look for "Dockerfile" by default in the `context` directory.
# Provide multiple tags (comma-separated) so you push both "latest" and a version-specific tag:
destinations: >
code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:latest, code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:${{ steps.read-version.outputs.version }}
code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:latest code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:${{ steps.read-version.outputs.version }}
credentials: "code.252.no=tommy:${{ secrets.REGISTRY_TOKEN }}"
push: "true"
cache: "false"