mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 07:25:51 -04:00
remove always trigger, remove redundant build-and-upload step
This commit is contained in:
parent
6eab009c88
commit
4f639ef44a
@ -1,4 +1,4 @@
|
||||
name: Build micro service
|
||||
name: Build micro service (KO)
|
||||
description: Build and upload a container image for a Constellation micro-service
|
||||
inputs:
|
||||
name:
|
||||
@ -30,11 +30,12 @@ runs:
|
||||
uses: imjasonh/setup-ko@v0.6
|
||||
|
||||
- name: Build and upload ko container image
|
||||
shell: bash
|
||||
id: build
|
||||
env:
|
||||
KO_USER: ${{ github.actor }}
|
||||
KO_CONFIG_PATH: ${{ inputs.koConfig }}
|
||||
KO_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||
KO_PASSWORD: ${{ inputs.githubToken }}
|
||||
KO_DOCKER_REPO: ${{ env.REGISTRY }}/edgelesssys/constellation
|
||||
GIT_REF: ${{ github.ref }}
|
||||
run: |
|
||||
|
12
.github/workflows/build-kms-image-ko.yml
vendored
12
.github/workflows/build-kms-image-ko.yml
vendored
@ -31,18 +31,6 @@ jobs:
|
||||
- name: Set up ko
|
||||
uses: imjasonh/setup-ko@v0.6
|
||||
|
||||
- name: Build and upload KMS server container image
|
||||
id: build-and-upload
|
||||
env:
|
||||
KO_USER: ${{ github.actor }}
|
||||
KO_CONFIG_PATH: ${{ github.workspace }}/.ko.yaml
|
||||
KO_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||
KO_DOCKER_REPO: ${{ env.REGISTRY }}/edgelesssys/constellation
|
||||
GIT_REF: ${{ github.ref }}
|
||||
run: |
|
||||
tag=$(echo ${GIT_REF} | cut -d'/' -f3)
|
||||
ko build ./kms/cmd --preserve-import-paths -t ${tag}
|
||||
|
||||
- name: Build and upload KMS server container image
|
||||
id: build-and-upload
|
||||
uses: ./.github/actions/build_micro_service_ko
|
||||
|
Loading…
x
Reference in New Issue
Block a user