Skip to content

Commit

Permalink
add compression per default (#36)
Browse files Browse the repository at this point in the history
* add compression per default

* pr builds on workflow change as well

* push not on PR build
  • Loading branch information
Lerentis authored May 25, 2023
1 parent 4f2b39b commit 064ce27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish-jnlp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
branches: [ master ]
paths:
- 'jenkins-inbound-agent/**'
- '.github/workflows/**'

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -93,6 +94,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true,push=${{ github.event_name != 'pull_request' }}

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish-kubectl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
branches: [ master ]
paths:
- 'kubectl/**'
- '.github/workflows/**'

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -92,6 +93,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true,push=${{ github.event_name != 'pull_request' }}

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode

0 comments on commit 064ce27

Please sign in to comment.