Skip to content

Commit

Permalink
add kosmos-scheduler release for Makefile of k8s 1.21.6
Browse files Browse the repository at this point in the history
Signed-off-by: qiuming520 <[email protected]>
  • Loading branch information
qiuming520 committed Apr 8, 2024
1 parent 55ffbd2 commit 3511d94
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/release_images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Upload Images
on:
push:
tags:
- "v*.*.*-k8s-1.21.6"
jobs:
images:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up qemu
uses: docker/setup-qemu-action@v2
- name: Login registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push images
env:
ON_PLUGINS: true
run: |
make upload-images
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GOOS ?= $(shell go env GOOS)
GOARCH ?= $(shell go env GOARCH)
VERSION ?= '$(shell hack/version.sh)'
VERSION ?= '$(shell hack/version.sh)'-k8s-1.21.6

# Images management
REGISTRY?="ghcr.io/kosmos-io"
Expand Down

0 comments on commit 3511d94

Please sign in to comment.