-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update porter_stack_stefan-testcachemultistep.yml
- Loading branch information
1 parent
83c1ff2
commit 0e5d5b4
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ jobs: | |
- name: Set Github tag | ||
id: vars | ||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
- name: Set Github tag log | ||
id: vars | ||
run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT | ||
- name: Setup porter | ||
uses: porter-dev/[email protected] | ||
|
||
|
@@ -52,6 +55,6 @@ jobs: | |
DOCKER_BUILDKIT: "1" | ||
# BUILDKIT_INLINE_CACHE: "1" | ||
|
||
# PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . | ||
PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_short }} | ||
# PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest --cache-to mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} --cache-from type=registry,ref=813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep . | ||
PORTER_BUILDKIT_COMPLETE_OVERRIDE: build -f DockerfileStefanTest . --cache-from type=gha --cache-to type=gha,mode=max --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars.outputs.sha_long }} | ||
# |