Skip to content

Commit

Permalink
fix: Minor fixes for create release and push image workflow (#115)
Browse files Browse the repository at this point in the history
* excluding test-pull-request workflow

* fix: proper name for pushing the image

* fix: checking out repo to increment tag properly
  • Loading branch information
pacostas authored Nov 22, 2024
1 parent e8a35ed commit bebf2f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/.syncignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CODEOWNERS
workflows/create-release.yml
workflows/push-image.yml
workflows/push-image.yml
/workflows/test-pull-request.yml
5 changes: 5 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,11 @@ jobs:
stacks: ${{ fromJSON(needs.preparation.outputs.stacks) }}
arch: ${{ fromJSON(needs.preparation.outputs.architectures) }}
steps:
- name: Checkout With History
uses: actions/checkout@v4
with:
fetch-depth: 0 # gets full history

- name: Download Current Receipt(s)
uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: |
# Strip off the org and slash from repo name
# paketo-buildpacks/repo-name --> repo-name
echo "repo_name=$(echo "${{ github.repository }}" | sed 's/^.*\///')" >> "$GITHUB_OUTPUT"
echo "repo_name=$(echo "${{ github.repository }}" | sed 's/^.*\///' | sed 's/\-stack$//')" >> "$GITHUB_OUTPUT"
- name: Set matrix
id: set-matrix
Expand Down

0 comments on commit bebf2f0

Please sign in to comment.