-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (41 loc) · 1.26 KB
/
build-push-gcr.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Docker
on:
push:
repository_dispatch:
types:
- build
jobs:
build-bungee:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup SSH Keys and known_hosts
run: |
echo "${{ secrets.SSH_KEY }}" > id_rsa
- name: Docker Build
uses: benjlevesque/actions-docker-gcr/[email protected]
with:
image: ${{ secrets.GOOGLE_PROJECT_ID }}/bolt-bungee
tag: master
- name: Docker Push
uses: benjlevesque/actions-docker-gcr/[email protected]
with:
gcloud_key: ${{ secrets.GCLOUD_SERVICE_ACCOUNT_KEY }}
image: ${{ secrets.GOOGLE_PROJECT_ID }}/bolt-bungee
tag: master
build-typhoon:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Docker Build
uses: unixfox/actions-docker-gcr/build@master
with:
image: ${{ secrets.GOOGLE_PROJECT_ID }}/bolt-fallbacklobby
tag: master
dockerfile: Dockerfile.TyphoonLimbo
- name: Docker Push
uses: benjlevesque/actions-docker-gcr/[email protected]
with:
gcloud_key: ${{ secrets.GCLOUD_SERVICE_ACCOUNT_KEY }}
image: ${{ secrets.GOOGLE_PROJECT_ID }}/bolt-fallbacklobby
tag: master