This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Fix argument string #4
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: 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 GitHub Actions / Deploy DockerInvalid workflow file
|