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

Fix incorrect variable name #15

Fix incorrect variable name

Fix incorrect variable name #15

Workflow file for this run

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