-
Notifications
You must be signed in to change notification settings - Fork 15
35 lines (33 loc) · 973 Bytes
/
release.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
name: release
on:
workflow_dispatch:
push:
branches:
- 'release-*'
tags:
- 'v*'
jobs:
publish-docker-image-to-ghcr:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ env.golang-version }}'
- name: Login to ghcr.io
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push api and cc Docker images
run: make release
- name: Build and push performance tests Docker image
run: make release-performance
- name: Build and push SLTs Docker image
run: make release-slt