Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump docker/build-push-action from 2.5.0 to 6.4.1 #167

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Docker

Check warning on line 1 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

missing document start "---"

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:

Check warning on line 8 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

truthy value should be one of [false, true]
schedule:
- cron: '42 19 * * *'
push:
branches: [ master ]

Check failure on line 12 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

too many spaces inside brackets

Check failure on line 12 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

too many spaces inside brackets
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]

Check failure on line 14 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

too many spaces inside brackets

Check failure on line 14 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

too many spaces inside brackets
pull_request:
branches: [ master ]

Check failure on line 16 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

too many spaces inside brackets

Check failure on line 16 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

too many spaces inside brackets

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -48,7 +48,7 @@

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf

Check failure on line 51 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

line too long

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
Expand All @@ -72,7 +72,7 @@
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@1ca370b3a9802c92e886402e0dd88098a2533b12
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -80,14 +80,14 @@
labels: ${{ steps.meta.outputs.labels }}

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker

Check failure on line 83 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

line too long
# repository is public to avoid leaking data. If you would like to publish

Check failure on line 84 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

line too long
# transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate

Check failure on line 91 in .github/workflows/docker-publish.yml

View workflow job for this annotation

GitHub Actions / YAMLLint

line too long
# against the sigstore community Fulcio instance.
run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
Loading