build: release 5.0.0-alpha.1 (#7617)

This commit is contained in:
Manuel
2021-10-13 00:58:22 +02:00
committed by GitHub
parent a00e9038f6
commit ce57bf8c9c
5 changed files with 44 additions and 35 deletions

View File

@@ -42,14 +42,11 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# The following parameter is modified to manually make pre-releases on the `master` branch;
# change this accordingly before adding release automation.
flavor: |
latest=false
# The following parameter is modified to manually make pre-releases on the `master` branch;
# change this accordingly before adding release automation.
latest=${{ steps.branch.outputs.branch_name == 'release' && github.event.inputs.ref == '' }}
tags: |
type=semver,enable=true,pattern={{version}},value=${{ github.event.inputs.ref }}
type=raw,enable=${{ github.event.inputs.ref == '' }},value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:

View File

@@ -19,7 +19,7 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm publish
- run: npm publish --tag alpha
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
publish-docs: