fix: fix ci pipeline #21
1 changed files with 1 additions and 12 deletions
13
.github/workflows/ci.yaml
vendored
13
.github/workflows/ci.yaml
vendored
|
|
@ -74,7 +74,6 @@ jobs:
|
||||||
rm ~/private.key.pem
|
rm ~/private.key.pem
|
||||||
|
|
||||||
- name: Run GoReleaser with SNAPSHOT
|
- name: Run GoReleaser with SNAPSHOT
|
||||||
if: github.event_name == 'workflow_dispatch'
|
|
||||||
id: goreleaser
|
id: goreleaser
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ env.FORGEJO_TOKEN }}
|
GITHUB_TOKEN: ${{ env.FORGEJO_TOKEN }}
|
||||||
|
|
@ -83,16 +82,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
args: release --skip publish --clean --snapshot
|
args: release --skip publish --clean --snapshot
|
||||||
|
|
||||||
- name: Run GoReleaser
|
|
||||||
if: github.event_name != 'workflow_dispatch'
|
|
||||||
id: goreleaser
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ env.FORGEJO_TOKEN }}
|
|
||||||
GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }}
|
|
||||||
uses: goreleaser/goreleaser-action@v6
|
|
||||||
with:
|
|
||||||
args: release --skip publish --clean
|
|
||||||
|
|
||||||
- name: Prepare key file
|
- name: Prepare key file
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.PUBLIC_KEY_PEM }}" >public_key.pem
|
echo "${{ secrets.PUBLIC_KEY_PEM }}" >public_key.pem
|
||||||
|
|
@ -106,7 +95,7 @@ jobs:
|
||||||
--providerName=stackitprivatepreview \
|
--providerName=stackitprivatepreview \
|
||||||
--repoName=terraform-provider-stackitprivatepreview \
|
--repoName=terraform-provider-stackitprivatepreview \
|
||||||
--domain=tfregistry.sysops.stackit.rocks \
|
--domain=tfregistry.sysops.stackit.rocks \
|
||||||
--gpgFingerprint=${{ secrets.GPG_FINGERPRINT }} \
|
--gpgFingerprint="${{ secrets.GPG_FINGERPRINT }}" \
|
||||||
--gpgPubKeyFile=public_key.pem \
|
--gpgPubKeyFile=public_key.pem \
|
||||||
--version=${VERSION}
|
--version=${VERSION}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue