mirror of
https://github.com/fergalmoran/radio-otherway.git
synced 2025-12-22 09:50:29 +00:00
Add action to build scheduler
This commit is contained in:
1
.github/workflows/firebase-hosting-merge.yml
vendored
1
.github/workflows/firebase-hosting-merge.yml
vendored
@@ -18,6 +18,7 @@ jobs:
|
|||||||
- run: yarn build
|
- run: yarn build
|
||||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||||
with:
|
with:
|
||||||
|
entryPoint: web/
|
||||||
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RADIO_OTHERWAY }}'
|
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RADIO_OTHERWAY }}'
|
||||||
channelId: live
|
channelId: live
|
||||||
|
|||||||
29
.github/workflows/scheduler-build-api-server.yml
vendored
Normal file
29
.github/workflows/scheduler-build-api-server.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: Docker Image CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ develop ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: docker login
|
||||||
|
env:
|
||||||
|
DOCKER_USER: ${{secrets.DOCKER_USER}}
|
||||||
|
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
|
||||||
|
run: |
|
||||||
|
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./scheduler/Dockerfile
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKER_USER}}/radio-otherway-scheduler:latest
|
||||||
Reference in New Issue
Block a user