2022-07-05 14:13:19 +02:00
|
|
|
name: Build and upload join-service image
|
2022-06-15 10:50:46 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-10-18 16:17:41 +02:00
|
|
|
- "release/**"
|
2022-06-15 10:50:46 +02:00
|
|
|
paths:
|
2022-07-05 14:13:19 +02:00
|
|
|
- "joinservice/**"
|
2022-06-15 10:50:46 +02:00
|
|
|
- "internal/atls/**"
|
|
|
|
- "internal/attestation/**"
|
|
|
|
- "internal/constants/**"
|
|
|
|
- "internal/file/**"
|
|
|
|
- "internal/grpc/**"
|
|
|
|
- "internal/oid/**"
|
|
|
|
|
|
|
|
jobs:
|
2022-07-05 14:13:19 +02:00
|
|
|
build-join-service:
|
2022-06-15 10:50:46 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
packages: write
|
|
|
|
steps:
|
|
|
|
- name: Check out repository
|
|
|
|
id: checkout
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-06-15 10:50:46 +02:00
|
|
|
|
2022-09-14 15:14:26 +02:00
|
|
|
- name: Setup Go environment
|
2022-10-18 13:54:53 +02:00
|
|
|
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
|
2022-09-14 15:14:26 +02:00
|
|
|
with:
|
2022-10-06 10:31:12 -07:00
|
|
|
go-version: "1.19.2"
|
2022-09-14 15:14:26 +02:00
|
|
|
|
2022-07-05 14:13:19 +02:00
|
|
|
- name: Build and upload join-service container image
|
2022-06-15 10:50:46 +02:00
|
|
|
id: build-and-upload
|
2022-07-13 14:04:46 +02:00
|
|
|
uses: ./.github/actions/build_micro_service
|
2022-06-15 10:50:46 +02:00
|
|
|
with:
|
2022-07-05 14:13:19 +02:00
|
|
|
name: join-service
|
2022-09-14 15:14:26 +02:00
|
|
|
projectVersion: "0.0.0"
|
2022-07-05 14:13:19 +02:00
|
|
|
dockerfile: joinservice/Dockerfile
|
2022-06-15 11:15:33 +02:00
|
|
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|