diff --git a/docker/action.yaml b/docker/action.yaml index a2cb910..3dc4322 100644 --- a/docker/action.yaml +++ b/docker/action.yaml @@ -25,6 +25,7 @@ runs: with: token: ${{ inputs.gitea-token }} - uses: docker/metadata-action@v5 + if: ${{ inputs.release != 'true' }} id: meta with: images: ${{ inputs.registry }}/${{ gitea.repository }} diff --git a/release/dist/index.js b/release/dist/index.js index 5d81159..a297b1a 100644 --- a/release/dist/index.js +++ b/release/dist/index.js @@ -33281,6 +33281,8 @@ async function run() { }, }); console.log(`🎉 Release ready at ${response.html_url}`); + + _actions_core__WEBPACK_IMPORTED_MODULE_0__.setOutput("version", newVersion); } catch (error) { console.log(error); _actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(error.message); diff --git a/release/index.js b/release/index.js index a963ee4..d0c2496 100644 --- a/release/index.js +++ b/release/index.js @@ -36,6 +36,8 @@ async function run() { }, }); console.log(`🎉 Release ready at ${response.html_url}`); + + core.setOutput("version", newVersion); } catch (error) { console.log(error); core.setFailed(error.message);