Skip to content

Commit

Permalink
Fix workflows removing old code and proper naming (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsilvapt committed Jan 31, 2023
1 parent 98af703 commit da86293
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,24 @@ jobs:
tag: ${{ steps.doit.outputs.new }}
steps:
- id: doit
$run: echo "new=$(echo ${{ github.ref_name }} | cut -b 2-)" >> $GITHUB_OUTPUT
run: echo "new=$(echo ${{ github.ref_name }} | cut -b 2-)" >> $GITHUB_OUTPUT

build_img:
needs: get_tag
needs: tag
uses: ./.github/workflows/build_image.yml
with:
build-tag: ${{ needs.tag.outputs.tag }}
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}-builder-cache:latest

tests:
needs: [tag, test_image]
needs: [tag, build_img]
uses: ./.github/workflows/run_tests.yml
with:
build-tag: ${{ needs.tag.outputs.tag }}

testscleanup:
needs: [tag, tests]
uses: ./.github/workflows/test_cleanup.yml
with:
build-tag: ${{ needs.tag.outputs.tag }}

push:
needs: [tag, tests]
Expand Down

0 comments on commit da86293

Please sign in to comment.