Merge pull request #314 from sir-gon/develop #1108
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: 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 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 }} | |