-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 905 Bytes
/
build.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
name: Build
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.23.2
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push container image
run: |
export REGISTRY=ghcr.io/mesosphere
export VERSION=${{ github.ref_name }}
export LINUX_ARCH="amd64 arm64"
export CONFIRM=1
export SKIP_PUSH_LATEST=1
export ALLOW_UNSTABLE=1
export DOCKER_CLI_EXPERIMENTAL=enabled
export OUTPUT_TYPE=docker
make release