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

Commit

Permalink
Update Docker Actions To Push To Docker On Tags (#172)
Browse files Browse the repository at this point in the history
* Update Docer Actions To Push To Docker On Tags

* Update docker-build-and-push-ocular-models-server.yml

* Update docker-build-and-push-ocular-ui.yml

* Update docker-build-and-push-ocular-backend.yml

* Update docker-build-and-push-ocular-models-server.yml

* Update docker-build-and-push-ocular-ui.yml
  • Loading branch information
louismurerwa authored Jul 16, 2024
1 parent 9821bc2 commit d27b800
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-build-and-push-ocular-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Build and Push Ocular Backend Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
tags:
- '*'

jobs:
push_to_docker_registry:
Expand All @@ -31,4 +30,5 @@ jobs:
file: ./packages/ocular/Dockerfile.local
push: true
tags:
ocularengineering/ocular-backend:${{ github.ref_name }}
ocularengineering/ocular-backend:latest
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Build and Push Ocular Models Server on Release and Tag

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
tags:
- '*'

jobs:
build-and-push:
Expand All @@ -30,4 +29,5 @@ jobs:
file: ./packages/ocular-models-server/Dockerfile.models
push: true
tags:
ocularengineering/ocular-model-server:${{ github.ref_name }}
ocularengineering/ocular-model-server:latest
6 changes: 3 additions & 3 deletions .github/workflows/docker-build-and-push-ocular-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Build and Push Ocular Web UI Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
tags:
- '*'

jobs:
push_to_docker_registry:
Expand All @@ -31,4 +30,5 @@ jobs:
file: ./packages/ocular-ui/Dockerfile
push: true
tags:
ocularengineering/ocular-ui:${{ github.ref_name }}
ocularengineering/ocular-ui:latest

0 comments on commit d27b800

Please sign in to comment.