Skip to content

Allow for custom PR body (#42) #14

Allow for custom PR body (#42)

Allow for custom PR body (#42) #14

Workflow file for this run

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