Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:

jobs:
release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

permissions:
contents: read
packages: write
id-token: write # needed for the Vault authentication

steps:
- name: "Read Vault secrets"
if: github.repository_owner == 'k3s-io'
Expand All @@ -22,7 +22,7 @@ jobs:
secrets: |
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | DOCKER_USERNAME ;
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials password | DOCKER_TOKEN ;

- name: Login to DockerHub with Rancher Secrets
if: github.repository_owner == 'k3s-io'
uses: docker/login-action@v3
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
if: github.repository_owner == 'k3s-io'
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/riscv64
push: true
tags: |
rancher/klipper-lb:latest
Expand All @@ -66,10 +66,10 @@ jobs:
if: github.repository_owner != 'k3s-io'
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/riscv64
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/klipper-lb:latest
${{ secrets.DOCKER_USERNAME }}/klipper-lb:${{ github.ref_name }}
ghcr.io/${{ github.repository_owner }}/klipper-lb:latest
ghcr.io/${{ github.repository_owner }}/klipper-lb:${{ github.ref_name }}
ghcr.io/${{ github.repository_owner }}/klipper-lb:${{ github.ref_name }}