Skip to content

Commit

Permalink
fix github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
phosae committed May 6, 2023
1 parent 1d63c3c commit d0f9af1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
context: ./kube-code-generator
tags: |
zengxu/kube-code-generator:$GITHUB_REF_NAME
zengxu/kube-code-generator:${{github.ref_name}}
platforms: |
linux/amd64,linux/arm64
push: ${{ github.ref == 'refs/heads/main' }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ default: build

.PHONY: build
build:
docker buildx build --platform linux/amd64,linux/arm64 -t $(IMAGE):latest -t $(IMAGE):v1.27.1 --push .
docker buildx build --platform linux/amd64,linux/arm64 -t $(IMAGE) --push .
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Uses [official code-generator](https://github.com/kubernetes/code-generator) cre

| | Docker image |
| ---------------- | ------------------------------------------------------- |
| Kubernetes v1.27 | `docker pull zengxu/kube-code-generator:v1.27.1` |
| Kubernetes v1.26 | `docker pull quay.io/slok/kube-code-generator:v1.26.0` |
| Kubernetes v1.25 | `docker pull quay.io/slok/kube-code-generator:v1.25.0` |
| Kubernetes v1.24 | `docker pull quay.io/slok/kube-code-generator:v1.24.0` |
Expand Down

0 comments on commit d0f9af1

Please sign in to comment.