File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v6
17+ with :
18+ persist-credentials : false
1719 - uses : dtolnay/rust-toolchain@stable
1820 with :
1921 toolchain : nightly
2830 runs-on : ubuntu-latest
2931 steps :
3032 - uses : actions/checkout@v6
33+ with :
34+ persist-credentials : false
3135 - uses : dtolnay/rust-toolchain@stable
3236 with :
3337 toolchain : stable
4448 runs-on : ubuntu-latest
4549 steps :
4650 - uses : actions/checkout@v6
51+ with :
52+ persist-credentials : false
4753 - uses : dtolnay/rust-toolchain@stable
4854 with :
4955 toolchain : stable
6066 runs-on : ubuntu-latest
6167 steps :
6268 - uses : actions/checkout@v6
69+ with :
70+ persist-credentials : false
6371 - uses : dtolnay/rust-toolchain@stable
6472 with :
6573 toolchain : stable
Original file line number Diff line number Diff line change 1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v6
20+ with :
21+ persist-credentials : false
2022
2123 - name : Set up Docker Buildx
2224 uses : docker/setup-buildx-action@v3
3133
3234 - name : Set application version
3335 if : ${{ github.ref_type == 'tag' }}
34- run : sed -i 's/^version = ".*"$/version = "${{ steps.meta.outputs.version }}"/' Cargo.toml
36+ run : sed -i 's/^version = ".*"$/version = "${STEPS_META_OUTPUTS_VERSION}"/' Cargo.toml
37+ env :
38+ STEPS_META_OUTPUTS_VERSION : ${{ steps.meta.outputs.version }}
3539
3640 - name : Login to GHCR
3741 uses : docker/login-action@v3
7680 if : ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
7781 run : |
7882 helm dependencies update helm/numtracker
79- helm package helm/numtracker --version ${{ steps.meta.outputs.version }} --app-version ${{ steps.meta.outputs.version }} -d /tmp/
80- helm push /tmp/numtracker-${{ steps.meta.outputs.version }}.tgz oci://ghcr.io/diamondlightsource/charts
83+ helm package helm/numtracker --version ${STEPS_META_OUTPUTS_VERSION} --app-version ${STEPS_META_OUTPUTS_VERSION} -d /tmp/
84+ helm push /tmp/numtracker-${STEPS_META_OUTPUTS_VERSION}.tgz oci://ghcr.io/diamondlightsource/charts
85+ env :
86+ STEPS_META_OUTPUTS_VERSION : ${{ steps.meta.outputs.version }}
You can’t perform that action at this time.
0 commit comments