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) #12
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 Web UI Docker Image CI | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
push_to_docker_registry: | |
name: Push Ocular Web UI To Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Branch | |
uses: actions/checkout@v4 | |
- name: Log In To Docker | |
uses: docker/login-action@v3 | |
with: | |
username: ${{secrets.DOCKER_USERNAME}} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Set Up Docker Builders | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and Push Ocular Backend Image | |
uses: docker/build-push-action@v6 | |
with: | |
context: ./ | |
file: ./packages/ocular-ui/Dockerfile | |
push: true | |
tags: | | |
ocularengineering/ocular-ui:${{ github.ref_name }} | |
ocularengineering/ocular-ui:latest |