-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (37 loc) · 1015 Bytes
/
build-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
39
40
name: docker
on:
push:
env:
IMAGE_FQDN: ghcr.io/kontextwork/zimbra-builder
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
- uses: actions/checkout@v4
with:
name: ianw1974/zimbra-build-scripts
ref: master
fetch-depth: 2
path: zimbra-build-scripts
- run: ls -la
- name: Build builder
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64
push: true
build-args: |
# actually that's the distro to build ON and FOR
RELEASE=ubuntu:20.04
tags: |
${{ env.IMAGE_FQDN }}:latest