Skip to content

Commit

Permalink
Fix(build): workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Jan 22, 2025
1 parent 54942e0 commit 8725158
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/update-cli/go-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ targets:
kind: shell
spec:
command: |
export version={{ source `getRelease` }}
skopeo copy \
"docker-archive:./go-generate-${version}.cnb" \
"docker://r.planetary-quantum.com/buildpacks/go-generate:${version}"
"oci-archive:./go-generate-{{ source `getRelease` }}.cnb" \
"docker://r.planetary-quantum.com/buildpacks/go-generate:{{ source `getRelease` }}"
12 changes: 6 additions & 6 deletions .github/workflows/go-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: r.planetary-quantum.com
username: ${{ secrets.QUANTUM_REGISTRY_USERNAME }}
password: ${{ secrets.QUANTUM_REGISTRY_PASSWORD }}
- uses: warjiang/[email protected]
- run: |
skopeo login \
--username ${{ secrets.QUANTUM_REGISTRY_USERNAME }} \
--password ${{ secrets.QUANTUM_REGISTRY_PASSWORD }} \
r.planetary-quantum.com
- uses: updatecli/updatecli-action@v2
- env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
updatecli \
diff \
apply \
-c .github/update-cli/go-generate.yml \
-v .github/update-cli/values.yml

0 comments on commit 8725158

Please sign in to comment.