This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
Update docker-build-and-push-ocular-ui.yml (#175) #9
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: Build and Push Ocular Models Server on Release and Tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Models Code | |
uses: actions/checkout@v2 | |
- name: Set up Docker Builder | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Ocular Model Server Image Docker Build and Push | |
uses: docker/build-push-action@v6 | |
with: | |
context: ./ | |
file: ./packages/ocular-models-server/Dockerfile.models | |
push: true | |
tags: | | |
ocularengineering/ocular-model-server:${{ github.ref_name }} | |
ocularengineering/ocular-model-server:latest |