Skip to content

Commit

Permalink
workflows: install gnu tar for actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
xdavidwu committed May 22, 2024
1 parent bed786a commit 4386cbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
KO_DOCKER_REPO: ghcr.io/xdavidwu/kube-cgi
steps:
- uses: actions/checkout@v4
- name: prepare
run: |
echo https://dl-cdn.alpinelinux.org/alpine/edge/testing/ >> /etc/apk/repositories
apk add ko go tar
- uses: actions/cache@v4
with:
path: ~/go/pkg
key: go-pkg
- name: prepare
run: |
echo https://dl-cdn.alpinelinux.org/alpine/edge/testing/ >> /etc/apk/repositories
apk add ko go
- name: login
run: ko login ghcr.io -u dummy -p "${{ github.token }}"
- name: package
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
container: alpine:edge
steps:
- uses: actions/checkout@v4
- name: prepare
run: apk add make bash go tar
- uses: actions/cache@v4
with:
path: ~/go/pkg
key: go-pkg
- name: prepare
run: apk add make bash go
- name: test
run: make test

0 comments on commit 4386cbe

Please sign in to comment.