forked from l2beat/l2beat
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 901 Bytes
/
do-poc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Deploy update monitor on PoC environment
concurrency:
group: do-poc
permissions: {}
on:
schedule:
- cron: "45 * * * *"
jobs:
deploy-update-monitor:
name: Deploy update monitor
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Login to DO container registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DO_POC_USER }}
password: ${{ secrets.DO_POC_TOKEN }}
registry: ${{ secrets.DO_POC_REGISTRY }}
- name: Build and publish containers
uses: docker/build-push-action@v5
with:
push: true
file: Dockerfile.backend
build-args: |
TURBO_TEAM=${{ vars.TURBO_TEAM }}
TURBO_TOKEN=${{ secrets.TURBO_TOKEN }}
tags: |
${{ secrets.DO_POC_REGISTRY }}/l2beat/update-monitor