Skip to content

Commit

Permalink
Upgrade GitHub Actions Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
superstructor committed Mar 9, 2021
1 parent bf99ac0 commit 43ed42a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/continuous-deployment-workflow.yml
Expand Up @@ -10,7 +10,10 @@ jobs:
runs-on: ubuntu-18.04
container:
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
image: day8au/dev-ci:0.0.8
image: docker.pkg.github.com/day8/dockerfile-for-dev-ci-image/dev-ci:0.1
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -20,7 +23,7 @@ jobs:
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj') }}
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }}
restore-keys: |
${{ runner.os }}-maven-
- name: npm cache
Expand Down Expand Up @@ -48,7 +51,10 @@ jobs:
runs-on: ubuntu-18.04
container:
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
image: day8au/dev-ci:0.0.8
image: docker.pkg.github.com/day8/dockerfile-for-dev-ci-image/dev-ci:0.1
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -58,7 +64,7 @@ jobs:
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj') }}
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run lein release
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/continuous-integration-workflow.yml
Expand Up @@ -14,7 +14,10 @@ jobs:
runs-on: ubuntu-18.04
container:
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
image: day8au/dev-ci:0.0.8
image: docker.pkg.github.com/day8/dockerfile-for-dev-ci-image/dev-ci:0.1
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -24,7 +27,7 @@ jobs:
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj') }}
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }}
restore-keys: |
${{ runner.os }}-maven-
- name: npm cache
Expand Down

0 comments on commit 43ed42a

Please sign in to comment.