Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGodbehere committed Mar 30, 2023
1 parent 923ee42 commit a02a9ed
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
update-version:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
pull-requests: write

steps:
- uses: actions/checkout@v3

- name: Update version in package.json
run: |
CURRENT_TAG=${GITHUB_REF#refs/tags/}
Expand All @@ -30,7 +23,6 @@ jobs:
echo "Updating version to: $VERSION"
jq ".version = \"$VERSION\"" package.json > package.json.tmp
mv package.json.tmp package.json
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
Expand All @@ -40,7 +32,16 @@ jobs:
body: Update the version of `package.json` as part of release process
delete-branch: true
base: main
token: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
pull-requests: write

steps:
- uses: actions/checkout@v3

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
Expand Down

0 comments on commit a02a9ed

Please sign in to comment.