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

Update action version #7

Update action version

Update action version #7

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@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 }}"
"registry.rostlab.org/rostlab/tmvisdb:latest"
build-args: "GIT_HASH=${GITHUB_SHA}"