Skip to content

Commit

Permalink
try and improve the docker build action with some caching
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgen committed Jan 5, 2024
1 parent 23a5af6 commit de240f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/docker-build-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:

- name: Build Docker image
shell: bash
run: docker build -t ghcr.io/${{ github.repository_owner }}/${{ inputs.imageName }} -f ${{ inputs.dockerFile }} .
run: docker build --cache-from=ghcr.io/${{ github.repository_owner }}/${{ inputs.imageName }} -t ghcr.io/${{ github.repository_owner }}/${{ inputs.imageName }} -f ${{ inputs.dockerFile }} .

- name: Push Docker image
shell: bash
Expand Down

0 comments on commit de240f3

Please sign in to comment.