Skip to content

Commit

Permalink
uddate token and image
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathonJulian committed Sep 4, 2024
1 parent f626e6d commit 60cd7c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -83,4 +87,4 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
provenance: false
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 60cd7c9

Please sign in to comment.