Allow for custom PR body (#42) #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tags-publish | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
ci: | |
uses: ./.github/workflows/ci.yaml | |
publish-image: | |
needs: ci | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: stellaservice | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push image | |
run: | | |
image_name=stellanetops/glue_ops:${{github.ref_name}} | |
docker build -t $image_name . | |
docker push $image_name | |
publish-npm: | |
needs: ci | |
runs-on: ubuntu-22.04 | |
container: node:20.8.0-slim | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm install | |
- run: npm run build | |
- name: Publish package | |
run: | | |
npm set registry https://registry.npmjs.org | |
npm set _authToken ${{ secrets.NPM_PUBLISH_TOKEN}} | |
npm publish |