Skip to content

Commit 73edc62

Browse files
committed
Fix Docker publish workflow (hopefully).
1 parent 5b321e7 commit 73edc62

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
# Install the cosign tool except on PR
3737
# https://github.com/sigstore/cosign-installer
3838
- name: Install cosign
39-
if: github.event_name != "pull_request"
39+
if: github.event_name != 'pull_request'
4040
uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
4141
with:
42-
cosign-release: "v1.13.1"
42+
cosign-release: 'v1.13.1'
4343

4444

4545
# Workaround: https://github.com/docker/build-push-action/issues/461
@@ -49,7 +49,7 @@ jobs:
4949
# Login against a Docker registry except on PR
5050
# https://github.com/docker/login-action
5151
- name: Log into registry ${{ env.REGISTRY }}
52-
if: github.event_name != "pull_request"
52+
if: github.event_name != 'pull_request'
5353
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
5454
with:
5555
registry: ${{ env.REGISTRY }}
@@ -64,14 +64,14 @@ jobs:
6464
with:
6565
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6666

67-
# Build and push Docker image with Buildx (don"t push on PR)
67+
# Build and push Docker image with Buildx (don't push on PR)
6868
# https://github.com/docker/build-push-action
6969
- name: Build and push Docker image
7070
id: build-and-push
7171
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
7272
with:
7373
context: .
74-
push: ${{ github.event_name != "pull_request" }}
74+
push: ${{ github.event_name != 'pull_request' }}
7575
tags: ${{ steps.meta.outputs.tags }}
7676
labels: ${{ steps.meta.outputs.labels }}
7777
cache-from: type=gha
@@ -84,7 +84,7 @@ jobs:
8484
# transparency data even for private images, pass --force to cosign below.
8585
# https://github.com/sigstore/cosign
8686
- name: Sign the published Docker image
87-
if: ${{ github.event_name != "pull_request" }}
87+
if: ${{ github.event_name != 'pull_request' }}
8888
env:
8989
COSIGN_EXPERIMENTAL: "true"
9090
# This step uses the identity token to provision an ephemeral certificate

0 commit comments

Comments
 (0)