Updated image reference #11
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: Create Release | |
on: | |
push: | |
tags: | |
- '*/[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
create-docker-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Extract Tag Information | |
id: tag_info | |
run: echo "::set-output name=tag::${{ github.ref }}" | |
- name: Set Algorithm Name Variable | |
id: algorithm | |
run: echo "::set-output name=algorithm::$(echo ${{ steps.tag_info.outputs.tag }} | cut -d '/' -f 3)" | |
- name: Extract Version from Tag | |
id: version | |
run: echo "::set-output name=version::$(echo ${{ steps.tag_info.outputs.tag }} | cut -d '/' -f 4)" | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
registry: harbor2.vantage6.ai | |
username: ${{ secrets.STARTER_HARBOR_USER }} | |
password: ${{ secrets.STARTER_HARBOR_SECRET }} | |
- name: Run Makefile Rule | |
run: make ${{ steps.algorithm.outputs.algorithm }} TAG="${{ steps.version.outputs.version }}" |