diff --git a/.github/workflows/porter_stack_stefan-testcachemultistep.yml b/.github/workflows/porter_stack_stefan-testcachemultistep.yml index ce972e9..1837413 100644 --- a/.github/workflows/porter_stack_stefan-testcachemultistep.yml +++ b/.github/workflows/porter_stack_stefan-testcachemultistep.yml @@ -13,7 +13,7 @@ jobs: id: vars run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Set Github tag log - id: vars + id: vars2 run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT - name: Setup porter uses: porter-dev/setup-porter@v0.1.0 @@ -49,12 +49,12 @@ jobs: PORTER_PROJECT: "8" PORTER_REPO_NAME: ${{ github.event.repository.name }} PORTER_STACK_NAME: stefan-testcachemultistep - PORTER_TAG: ${{ steps.vars.outputs.sha_long }} + PORTER_TAG: ${{ steps.vars2.outputs.sha_long }} PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }} 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_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 }} + # 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.vars2.outputs.sha_long }} --push --tag 813111008191.dkr.ecr.us-east-2.amazonaws.com/stefan-testcachemultistep:${{ steps.vars2.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.vars2.outputs.sha_long }} #