Compare commits
13 Commits
5bbe9a9554
...
65c8b66ebe
Author | SHA1 | Date |
---|---|---|
|
65c8b66ebe | |
|
d88bba6602 | |
|
1672c4207b | |
|
b84c93c118 | |
|
1e64bc11d9 | |
|
e58318a3f9 | |
|
e6511fac68 | |
|
227ea5c13e | |
|
92b7e45248 | |
|
ba059c9cbb | |
|
0641289c9b | |
|
01317eabaa | |
|
557d8fa846 |
|
@ -0,0 +1,40 @@
|
|||
name: Build Docker Images
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- Test Python backend
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set lower case owner name
|
||||
run: |
|
||||
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
|
||||
env:
|
||||
OWNER: '${{ github.repository_owner }}'
|
||||
|
||||
- name: Build Docker image for backend
|
||||
run: |
|
||||
cd backend-flask
|
||||
docker build -t ghcr.io/${OWNER_LC}/availabili-tf-backend-flask:latest .
|
||||
docker push ghcr.io/${OWNER_LC}/availabili-tf-backend-flask:latest
|
|
@ -13,7 +13,7 @@ const authStore = useAuthStore();
|
|||
<div class="wrapper">
|
||||
<nav>
|
||||
<h1>
|
||||
<RouterLink class="header-link" to="/">availabili.tf CS 333</RouterLink>
|
||||
<RouterLink class="header-link" to="/">availabili.tf</RouterLink>
|
||||
</h1>
|
||||
<div class="nav-links">
|
||||
<a
|
||||
|
|
Loading…
Reference in New Issue