Skip to content

Commit

Permalink
Merge pull request #273 from yudong2015/github_action_release
Browse files Browse the repository at this point in the history
ignore build image in goreleaser-action
  • Loading branch information
yudong2015 authored Dec 8, 2022
2 parents e9cba45 + 18f01aa commit 48ae816
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
docker build ./build -t kubespheredev/ks-tool:v1.17.0-${ver}
docker push kubespheredev/ks-tool:v1.17.0-${ver}
docker tag kubespheredev/ks-tool:v1.17.0-${ver} surenpi/ks-tool:latest
docker tag kubespheredev/ks-tool:v1.17.0-${ver} kubespheredev/ks-tool:latest
docker push kubespheredev/ks-tool:latest
- name: Build Registry Images
run: |
Expand Down
8 changes: 0 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,3 @@ nfpms:
darwin: macOS
linux: linux
windows: windows
dockers:
- goos: linux
goarch: amd64
image_templates:
- "surenpi/ks:latest"
- "surenpi/ks:{{.Tag}}"
- "ghcr.io/linuxsuren/ks/ks:latest"
- "ghcr.io/linuxsuren/ks/ks:{{.Tag}}"
5 changes: 0 additions & 5 deletions Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ goreleaser-test:

image: build-linux
cp bin/linux/ks build/ks
docker build ./build -t surenpi/ks
docker build ./build -t kubespheredev/ks-tool

image-push:
docker push surenpi/ks
docker push kubespheredev/ks-tool

update:
git fetch
Expand Down

0 comments on commit 48ae816

Please sign in to comment.