This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Add additional info about random data #16
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: 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}" |