-
Notifications
You must be signed in to change notification settings - Fork 8
49 lines (47 loc) · 1.58 KB
/
cf-containers.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
name: Cloud Framework Containers
on: workflow_dispatch
jobs:
pubsub-container:
name: "Build Pub/Sub Container"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Container
run: |
docker build . -f UET/Lib/Container/pubsub.Dockerfile --tag ghcr.io/redpointgames/uet/pubsub-emulator:latest
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
if: github.ref == 'refs/heads/main'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Container
if: github.ref == 'refs/heads/main'
run: |
docker push ghcr.io/redpointgames/uet/pubsub-emulator:latest
datastore-container:
name: "Build Datastore Container"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Container
run: |
docker build . -f UET/Lib/Container/datastore.Dockerfile --tag ghcr.io/redpointgames/uet/datastore-emulator:latest
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
if: github.ref == 'refs/heads/main'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Container
if: github.ref == 'refs/heads/main'
run: |
docker push ghcr.io/redpointgames/uet/datastore-emulator:latest