From 60cd7c99de4eeed4c3fc33d43fdc958f05aa113a Mon Sep 17 00:00:00 2001 From: JonathonJulian Date: Wed, 4 Sep 2024 13:26:43 -0700 Subject: [PATCH] uddate token and image --- .github/workflows/release.yaml | 8 ++++++-- Dockerfile | 5 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bb576df..52db624 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,7 +64,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GHCR_PAT }} # Use a PAT instead of GITHUB_TOKEN - name: Extract metadata (tags, labels) for Docker id: meta @@ -75,6 +75,10 @@ jobs: type=raw,value=${{ env.IMAGE_TAG }} type=raw,value=latest + - name: Echo image tags for debugging + run: | + echo "Tags: ${{ steps.meta.outputs.tags }}" + - name: Build and push Docker image uses: docker/build-push-action@v5 with: @@ -83,4 +87,4 @@ jobs: platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - provenance: false \ No newline at end of file + provenance: false diff --git a/Dockerfile b/Dockerfile index 86e76b6..252a2c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.suse.com/bci/bci-base:15.5.36.5.47 +FROM registry.suse.com/bci/bci-base:15.6.47.11.9 + +ENV KUBECTL_VERSION=v1.25.15 -ENV KUBECTL_VERSION v1.25.15 WORKDIR /usr/local/bin ARG TARGETARCH