From d495799fdfb6e07fd4e4928bb35f50b37f4dcb48 Mon Sep 17 00:00:00 2001 From: Marcel Zapf <57288415+Syntax3rror404@users.noreply.github.com> Date: Thu, 6 Jun 2024 03:47:41 +0200 Subject: [PATCH] Update container-image.yml --- .github/workflows/container-image.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index bd43b91..514e5e4 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -1,25 +1,21 @@ on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: docker/metadata-action@v3 + - uses: docker/metadata-action@v4 id: metadata with: images: ghcr.io/${{ github.repository }} - - uses: docker/login-action@v1 + - name: Kaniko build + uses: aevea/action-kaniko@master with: - registry: ghcr.io + image: aevea/kaniko username: ${{ github.actor }} password: ${{secrets.CI_REGISTRY_PASSWORD}} - - uses: int128/kaniko-action@v1 - with: - push: true - tags: ${{ steps.metadata.outputs.tags }} - labels: ${{ steps.metadata.outputs.labels }}