more gha tweaks

This commit is contained in:
Bret Fisher
2021-07-04 15:19:36 -04:00
parent a904e1cc15
commit facb2c9c8e
2 changed files with 5 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7
builder: ${{ steps.buildx.outputs.name }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
# don't push during a pull_request, only build
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}

View File

@@ -51,4 +51,8 @@ jobs:
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
# turn off dockerfilelint, as its a dead project
# https://github.com/replicatedhq/dockerfilelint/issues/169
# hadolint will run and is sufficent (no need for two linters)
VALIDATE_DOCKERFILE: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}