Skip to content

Publish Container Release #4

Publish Container Release

Publish Container Release #4

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
publish:
runs-on: ubuntu-latest
needs: prepare
if: github.repository == 'SAP/luigi'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.15.0'
- uses: actions/cache@v3
with:
path: |
~/tmp_build
~/cypress-binary-cache
key: buildcache-container
- 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