Skip to content

fix: cm-push url change to localhost (#48) #79

fix: cm-push url change to localhost (#48)

fix: cm-push url change to localhost (#48) #79

Workflow file for this run

name: Build Server(main)
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: get latest tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
id: get-latest-tag
with:
fallback: latest
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: beclab/studio-server:${{ steps.get-latest-tag.outputs.tag }}
file: Dockerfile.server