-
Notifications
You must be signed in to change notification settings - Fork 204
38 lines (36 loc) · 1.09 KB
/
docker.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
name: Docker
on:
workflow_call:
workflow_dispatch:
jobs:
docker:
name: Build and push image
runs-on: depot-ubuntu-22.04-16
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Build and push each stage of the Dockerfile in order
- name: "Build and push: mud"
uses: ./.github/actions/docker-build-push
with:
image: ghcr.io/latticexyz/mud
stage: mud
- name: "Build and push: store-indexer"
uses: ./.github/actions/docker-build-push
with:
image: ghcr.io/latticexyz/store-indexer
stage: store-indexer
- name: "Build and push: faucet"
uses: ./.github/actions/docker-build-push
with:
image: ghcr.io/latticexyz/faucet
stage: faucet