Skip to content

Commit

Permalink
test again without cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Nov 21, 2023
1 parent 646697b commit f35a5d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,19 +283,6 @@ jobs:
envsubst "${GIT_TAG}" < deploy/melange.yaml.tmpl > deploy/melange.yaml
envsubst "${GIT_TAG}" < deploy/apko.yaml.tmpl > deploy/apko.yaml
# use chainguard-dev/actions/melange-build@main action below instead when caching support is added
# - uses: chainguard-dev/actions/setup-melange@main
# - uses: chainguard-dev/actions/melange-keygen@main
# with:
# signing-key-path: ${{ github.workspace }}/melange.rsa

# - name: build with melange
# run: |
# melange build deploy/melange.yaml \
# --arch x86_64 \
# --signing-key ${{ github.workspace }}/melange.rsa \
# --cache-dir "$(go env GOMODCACHE)"

- id: cache-dir
run: echo "cache_dir=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"

Expand All @@ -305,7 +292,6 @@ jobs:
config: deploy/melange.yaml
archs: x86_64
sign-with-temporary-key: true
cache-dir: ${{ steps.cache-dir.outputs.cache_dir }}

- uses: chainguard-images/actions/apko-publish@main
with:
Expand Down
2 changes: 0 additions & 2 deletions deploy/melange.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ environment:
- go
- nodejs
- yarn
environment:
GOMODCACHE: '/var/cache/melange'

pipeline:
- runs: |
Expand Down

0 comments on commit f35a5d9

Please sign in to comment.