Skip to content

Commit

Permalink
Build Performance Improvement Test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinTaube committed Jan 15, 2024
1 parent 71e18a1 commit d112fbd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/dockerBuildAndPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker build and publish to GHCR
on:
push:
branches:
- main
- build_performance_improvement
release:
types: [published] # will use tag name regardless of naming

Expand Down Expand Up @@ -36,6 +36,15 @@ jobs:
type=ref,event=tag
type=raw,value=latest
- name: Cache Docker layers
id: cache
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
Expand All @@ -47,3 +56,5 @@ jobs:
build-args: |
EXECUTION_ENV=ci
GITHUB_PACKAGE_READ_TOKEN=${{ secrets.PUBLISH_PACKAGES }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

0 comments on commit d112fbd

Please sign in to comment.