Skip to content

Commit

Permalink
pull image before build and remove old cache
Browse files Browse the repository at this point in the history
  • Loading branch information
acheronfail committed Dec 22, 2023
1 parent fae1942 commit fae1f8a
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker pull "ghcr.io/${{ github.actor }}/count-base:latest"
- uses: docker/build-push-action@v2
with:
context: ./
Expand Down Expand Up @@ -65,21 +66,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.cargo/.crates.toml
~/.cargo/.crates2.json
target/
key: ${{ runner.os }}-cargo
- uses: actions/cache@v3
with:
path: scripts/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
# install dependencies
- uses: extractions/setup-just@v1
- uses: oven-sh/setup-bun@v1
Expand Down

0 comments on commit fae1f8a

Please sign in to comment.