mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-12 08:50:21 -04:00
add join service ko builder
This commit is contained in:
parent
4f639ef44a
commit
070d0c3507
1 changed files with 40 additions and 0 deletions
40
.github/workflows/build-joinservice-image-ko.yml
vendored
Normal file
40
.github/workflows/build-joinservice-image-ko.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
name: Build and upload join service image (KO)
|
||||||
|
env:
|
||||||
|
REGISTRY: ghcr.io
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-kms-server:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
outputs:
|
||||||
|
image: ${{ steps.build-and-upload.outputs.image }}
|
||||||
|
digest: ${{ steps.build-and-upload.outputs.digest }}
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
id: checkout
|
||||||
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
||||||
|
with:
|
||||||
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
|
- name: Setup Go environment
|
||||||
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
||||||
|
with:
|
||||||
|
go-version: "1.19.3"
|
||||||
|
|
||||||
|
- name: Set up ko
|
||||||
|
uses: imjasonh/setup-ko@v0.6
|
||||||
|
|
||||||
|
- name: Build and upload join service container image
|
||||||
|
id: build-and-upload
|
||||||
|
uses: ./.github/actions/build_micro_service_ko
|
||||||
|
with:
|
||||||
|
name: joinservice
|
||||||
|
koConfig: .ko.yaml
|
||||||
|
koTarget: ./joinservice/cmd
|
||||||
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue