chore: Switch to kaniko build action (within dind runner)
This commit is contained in:
parent
5e159783e8
commit
bd43145b17
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user