mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 23:19:39 -05:00
CoreOS build pipeline fix (#256)
* Remove invalid build step * Only upload Coordinator on main branch Signed-off-by: daniel-weisse <dw@edgeless.systems>
This commit is contained in:
parent
4f536c083d
commit
67c45f3d5b
2
.github/workflows/build-coordinator.yml
vendored
2
.github/workflows/build-coordinator.yml
vendored
@ -45,6 +45,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy Coordinator to S3 if not exists
|
- name: Copy Coordinator to S3 if not exists
|
||||||
id: copy
|
id: copy
|
||||||
|
# Only upload the Coordinator if this action is triggered from main branch
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
run: >
|
run: >
|
||||||
aws s3api head-object --bucket ${{ secrets.PUBLIC_BUCKET_NAME }} --key coordinator/$(ls | grep "coordinator-")
|
aws s3api head-object --bucket ${{ secrets.PUBLIC_BUCKET_NAME }} --key coordinator/$(ls | grep "coordinator-")
|
||||||
|| (
|
|| (
|
||||||
|
@ -35,8 +35,5 @@ RUN go build -o disk-mapper -ldflags "-s -w" ./cmd/
|
|||||||
FROM scratch AS coordinator
|
FROM scratch AS coordinator
|
||||||
COPY --from=build-coordinator /constellation/coordinator/coordinator /
|
COPY --from=build-coordinator /constellation/coordinator/coordinator /
|
||||||
|
|
||||||
FROM scratch AS coordinator-hashed
|
|
||||||
COPY --from=hash-coordinator /constellation/coordinator/coordinator-* /
|
|
||||||
|
|
||||||
FROM scratch AS disk-mapper
|
FROM scratch AS disk-mapper
|
||||||
COPY --from=build-disk-mapper /constellation/state/disk-mapper /
|
COPY --from=build-disk-mapper /constellation/state/disk-mapper /
|
||||||
|
Loading…
Reference in New Issue
Block a user