Skip to content

Commit

Permalink
fix: github token to upload artifact (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
amyXia1994 authored Jul 14, 2023
1 parent adf42ca commit a2418ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.KCL_LANG_BOT_TOKEN }}
RELEASE_VERSION: ${{ github.ref }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ release:
draft: false
footer: |
## Docker Images
* `kcllang/kcl-openapi:{{ .Env.RELEASE_VERSION }}`
* `kcllang/kcl-openapi:{{ .Tag }}`
dockers:
- use: buildx
goos: linux
Expand All @@ -66,7 +66,6 @@ dockers:
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/amd64"

docker_manifests:
- use: docker
name_template: kcllang/{{ .ProjectName }}:{{ .Tag }}
Expand Down

0 comments on commit a2418ab

Please sign in to comment.