Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Fix argument string

Fix argument string #4

Workflow file for this run

name: Deploy Docker
# Run workflow on tags starting with v (eg. v2, v1.2.0)
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: registry.rostlab.org
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v4
with:
push: true
tags: "registry.rostlab.org/rostlab/tmvisdb:${{ github.ref }}, registry.rostlab.org/rostlab/tmvisdb:latest"
build-args: "GIT_HASH=${{ GITHUB_SHA }}"

Check failure on line 26 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Deploy Docker

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 26, Col: 23): Unrecognized named-value: 'GITHUB_SHA'. Located at position 1 within expression: GITHUB_SHA