Skip to content

Commit

Permalink
Merge pull request #68 from timber-team/update_repo_location
Browse files Browse the repository at this point in the history
updated package image tags for new location
  • Loading branch information
gal authored Feb 13, 2024
2 parents 458cf90 + 858e4c3 commit 48fcea7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,27 @@ name: Build API
on:
push:
branches:
- 'main'
- "main"

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

# Builds docker images and pushes them to GHCR
-
name: Login to GitHub Container Registry
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }}
-
name: Build and push
- name: Build and push
uses: docker/[email protected]
with:
context: ./api
push: true
tags: ghcr.io/gal/cs3500-api:latest
tags: ghcr.io/timber-team/timber-api:latest
16 changes: 6 additions & 10 deletions .github/workflows/manual.yml → .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,27 @@ name: Build UI
on:
push:
branches:
- 'main'
- "main"

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

# Builds docker images and pushes them to GHCR
-
name: Login to GitHub Container Registry
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }}
-
name: Build and push
- name: Build and push
uses: docker/[email protected]
with:
context: ./ui
push: true
tags: ghcr.io/gal/cs3500-ui:latest
tags: ghcr.io/timber-team/timber-ui:latest

0 comments on commit 48fcea7

Please sign in to comment.