fix action

This commit is contained in:
Stefan Stidl 2023-11-04 23:52:59 +01:00
parent 6c92ed8091
commit 60ea879bc3

View file

@ -11,9 +11,9 @@ on:
push:
branches: ["*"]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
tags: ["v*.*.*"]
pull_request:
branches: [ "main","master" ]
branches: ["{{is_default_branch}}"]
env:
# Use docker.io for Docker Hub if empty
@ -21,10 +21,8 @@ env:
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
@ -43,7 +41,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
with:
cosign-release: 'v2.1.1'
cosign-release: "v2.1.1"
# Set up BuildKit Docker container builder to be able to build
# multi-platform images and export cache