Skip to content
Open
Show file tree
Hide file tree
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/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ jobs:
uses: docker/build-push-action@v1.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.DOCKER_TOKEN }}
repository: jaumann/github-bumpversion-action
tags: latest,v${{ needs.bump-version.outputs.new_ver }}
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@master
uses: super-linter/super-linter@v6.5.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_BASH: true
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

chown -R root: /github/workspace

# Configuration
default_semvar_bump=${DEFAULT_BUMP:-patch}
source=${SOURCE:-.}
Expand Down Expand Up @@ -53,9 +55,7 @@ new_version=$(echo "$raw_output" | grep -o 'new_version=\S*' | cut -d= -f2)
# We should have all the information we need by this point
# Set Outputs and log information

echo "old_ver=$old_version" >> "$GITHUB_OUTPUT"
echo "new_ver=$new_version" >> "$GITHUB_OUTPUT"
echo "part=$part" >> "$GITHUB_OUTPUT"
{ echo "old_ver=$old_version"; echo "new_ver=$new_version"; echo "part=$part"; } >> "$GITHUB_OUTPUT"

echo "Semantic Version Part to Bump: $part"
echo "Current Version: $old_version"
Expand Down