-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 1.14 KB
/
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
name: containers
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Login to ghcr.io
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: tezwatch container
uses: docker/build-push-action@v4
with:
file: ./containers/tezos/Dockerfile
platforms: linux/amd64
build-args: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} ARCH=x64
tags: ghcr.io/tez-capital/tezos:latest
push: true
provenance: false
- name: tezwatch container
uses: docker/build-push-action@v4
with:
file: ./containers/tezos/Dockerfile
platforms: linux/arm64
build-args: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} ARCH=arm64
tags: ghcr.io/tez-capital/tezos:latest
push: true
provenance: false