Skip to content

Commit

Permalink
Added caching to build, updated basecontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
bbfrederick committed Dec 11, 2023
1 parent e724cb9 commit ff91c1e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker-build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
push: true
sbom: false
provenance: false
cache-from: type=gha
cache-to: type=gha,mode=max
tags: fredericklab/capcalc:latest
build-args: |
BRANCH=${{ env.BRANCH }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-build-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
${{ steps.meta.outputs.tags }}
fredericklab/capcalc:latest-release
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history

## Version 1.3.8 (12/11/23)
* (Docker) Updated to basecontainer 0.3.0.
* (Docker) Added caching to build.

## Version 1.3.7 (9/13/23)
* Mass merge of a bunch of dependabot PRs.
* (Docker) Updated to basecontainer 0.2.3.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Start from the fredericklab base container
FROM fredericklab/basecontainer:v0.2.9.2
FROM fredericklab/basecontainer:v0.3.0

# get build arguments
ARG BUILD_TIME
Expand Down

0 comments on commit ff91c1e

Please sign in to comment.