Skip to content

Commit

Permalink
Merge pull request #15 from rancher-sandbox/just_relative_path
Browse files Browse the repository at this point in the history
chore: updated just path
  • Loading branch information
richardcase authored Apr 23, 2024
2 parents 17fd3c3 + bfafa47 commit e9db674
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
packages: write
steps:
- name: Install just
run: curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to .
run: |
mkdir -p _out
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to _out
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -29,17 +31,19 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build docker image
run: just TAG=${{ env.TAG }} build-base
run: _out/just TAG=${{ env.TAG }} build-base
- name: Push docker image
run: just TAG=${{ env.TAG }} docker-push
run: _out/just TAG=${{ env.TAG }} docker-push
release:
runs-on: ubuntu-latest
permissions:
contents: write
needs: [build]
steps:
- name: Install just
run: curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to .
run: |
mkdir -p _out
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to _out
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -48,7 +52,7 @@ jobs:
run: |
# this is quite naive, but i don't think we need more for now
sed -i "s/dev/${TAG}/g" config/default/manager_image_patch.yaml
just release-manifests
_out/just release-manifests
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit e9db674

Please sign in to comment.