Skip to content

Commit

Permalink
Remove SGX base image building (#6525)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Oct 4, 2024
1 parent d00e762 commit 81943ea
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/ci-containers-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}/ci/default

- name: Extract metadata (tags, labels) for SGX image
id: meta_sgx
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}/ci/sgx

- name: Build and push default container
id: push_default
uses: docker/build-push-action@v6
Expand All @@ -54,28 +48,9 @@ jobs:
tags: ${{ steps.meta_default.outputs.tags }}
labels: ${{ steps.meta_default.outputs.labels }}

- name: Build and push SGX container
id: push_sgx
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/ccf_ci
build-args: |
platform=sgx
push: true
tags: ${{ steps.meta_sgx.outputs.tags }}
labels: ${{ steps.meta_sgx.outputs.labels }}

- name: Attest default container
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ github.repository }}/ci/default
subject-digest: ${{ steps.push_default.outputs.digest }}
push-to-registry: true

- name: Attest SGX container
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ github.repository }}/ci/sgx
subject-digest: ${{ steps.push_sgx.outputs.digest }}
push-to-registry: true

0 comments on commit 81943ea

Please sign in to comment.