-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from timber-team/update_repo_location
updated package image tags for new location
- Loading branch information
Showing
2 changed files
with
13 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |