mirror of
https://github.com/BretFisher/shpod.git
synced 2026-05-20 08:22:58 +00:00
more gha tweaks
This commit is contained in:
2
.github/workflows/docker-build-and-push.yml
vendored
2
.github/workflows/docker-build-and-push.yml
vendored
@@ -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 }}
|
||||
|
||||
4
.github/workflows/linter.yml
vendored
4
.github/workflows/linter.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user