chore: Switch to kaniko build action (within dind runner)
Some checks failed
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 1m46s
Container & Helm chart / Container image (push) Failing after 1m4s

This commit is contained in:
Danny Bessems 2024-02-27 22:14:15 +11:00
parent 5e159783e8
commit bd43145b17

View File

@ -44,17 +44,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Create Kubeconfig
# run: |
# mkdir $HOME/.kube
# echo "${{ secrets.KUBECONFIG_BUILDX }}" > $HOME/.kube/config
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=gitea
qemu.install=true
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
@ -62,9 +51,9 @@ jobs:
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_APIKEY }}
- name: Build and push
uses: docker/build-push-action@v5
uses: int128/kaniko-action@v1
with:
context: .
push: true
# tags: ${{ steps.metadata.outputs.tags }}
tags: |
code.spamasaurus.com/djpbessems/spamasaurusrex:${{ steps.sem_rel.outputs.version }}