Skip to content

Publish Container Release #7

Publish Container Release

Publish Container Release #7

on: workflow_dispatch
name: Publish Container Release
env:
NPM_LUI_AUTH_TOKEN: ${{ secrets.NPM_LUI_AUTH_TOKEN }}
jobs:
prepare:
uses: ./.github/workflows/prepare.yml
secrets: inherit
with:
buildcache_key: buildcache-container-${{ github.ref }}
publish:
runs-on: ubuntu-latest
needs: prepare
if: github.repository == 'SAP/luigi'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
- uses: actions/cache@v4
with:
path: |
~/tmp_build
~/cypress-binary-cache
key: buildcache-container-${{ github.ref }}
- run: cp -r ~/tmp_build/* .
- run: echo "//registry.npmjs.org/:_authToken=$NPM_LUI_AUTH_TOKEN" > ~/.npmrc
- run: ls ./container/public
- run: bash ./scripts/npmPublish.sh luigi-container-release
- run: echo "" > ~/.npmrc