Skip to content

[CONFIG] Node script for github-actions, sonarcloud automatic scan di… #1126

[CONFIG] Node script for github-actions, sonarcloud automatic scan di…

[CONFIG] Node script for github-actions, sonarcloud automatic scan di… #1126

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main", "develop", "feature/*" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: "Build & Test in Docker"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4
- name: Build the Docker image
run: make compose/rebuild
- name: Run test in Docker image
run: make compose/run
- name: Tag Docker image
run: docker tag algorithm-exercises-ts:latest algorithm-exercises-ts:${{ github.sha }}