Skip to content

chore(deps): update dependency semantic-release-preconfigured-conventional-commits to v1.1.116 #394

chore(deps): update dependency semantic-release-preconfigured-conventional-commits to v1.1.116

chore(deps): update dependency semantic-release-preconfigured-conventional-commits to v1.1.116 #394

Workflow file for this run

name: CI/CD
on:
push:
branches-ignore:
- 'dependabot/**'
paths-ignore:
- '.gitignore'
- '.mergify.yml'
- 'CHANGELOG.md'
- 'LICENSE'
- 'README.md'
- 'renovate.json'
pull_request:
workflow_dispatch:
env:
PROJECT_NAME: kt-jupyter
jobs:
dockerify:
runs-on: ubuntu-latest
name: Build image and release
steps:
- name: Checkout the repo
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Compute next release version
id: compute-next-version
uses: nicolasfara/[email protected]
with:
github-token: ${{ github.token }}
- name: Create Docker Image
run: |
docker build -t pikalab/${{ env.PROJECT_NAME }}:latest .
shell: bash
- name: Docker Login
if: ${{ steps.compute-next-version.outputs.will-release }}
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Release Image on Docker Hub
if: ${{ steps.compute-next-version.outputs.will-release }}
run: |
npm install
npx semantic-release
env:
ENFORCE_VERSION: ${{ steps.compute-next-version.outputs.next-version }}