Merge pull request #142 from lcnetdev/thai_word_splitting #13
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: Push base image | |
on: | |
push: | |
tags: | |
- "v*.*.0" | |
env: | |
DOCKER_USER: lcnetdev | |
DOCKER_PASSWORD: ${{secrets.DOCKER_HUB}} | |
REPO_NAME: scriptshifter-base | |
jobs: | |
push-image-to-docker-hub: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Build the Docker image | |
run: > | |
docker build -f scriptshifter_base.Dockerfile . | |
--tag $DOCKER_USER/$REPO_NAME:${{ github.ref_name }} | |
--tag $DOCKER_USER/$REPO_NAME:latest | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: lcnetdev | |
password: ${{ secrets.DOCKER_HUB }} | |
- name: Push to Docker Hub | |
run: docker push $DOCKER_USER/$REPO_NAME --all-tags |