forked from confidential-containers/infra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,47 +12,43 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Check gpg | ||
run: | | ||
gpg --version | ||
- name: Import [email protected] key | ||
working-directory: container-images | ||
run: | | ||
gpg --batch --import keys/sign/github-runner.keys | ||
#- name: Install expect | ||
# run: sudo apt-get install -y expect | ||
#- name: Install cosign | ||
# uses: sigstore/cosign-installer@main | ||
run: gpg --batch --import keys/sign/github-runner.keys | ||
- name: Install expect | ||
run: sudo apt-get install -y expect | ||
- name: Install cosign | ||
uses: sigstore/cosign-installer@main | ||
with: | ||
cosign-release: "v2.4.1" | ||
#- name: Rust toolchain installation | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# cosign-release: "v2.4.1" | ||
##- name: Rust toolchain installation | ||
## uses: actions-rs/toolchain@v1 | ||
## with: | ||
## profile: minimal | ||
## toolchain: ${{ env.RUSTC_VERSION }} | ||
## override: true | ||
## components: rustfmt, clippy | ||
## target: x86_64-unknown-linux-gnu | ||
#- name: Log in to ghcr | ||
# uses: docker/login-action@v3 | ||
# with: | ||
# registry: ghcr.io | ||
# username: ${{ github.actor }} | ||
# password: ${{ secrets.GITHUB_TOKEN }} | ||
## 1. unsig (works) | ||
#- name: Make unsig | ||
# working-directory: container-images | ||
# run: make unsig | ||
## 2. cosign-sig (works) | ||
#- name: Make cosign-sig | ||
# working-directory: container-images | ||
# env: | ||
# COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }} | ||
# run: make cosign-sig | ||
## 3. simple-sig | ||
#- name: Make simple-sig | ||
# working-directory: container-images | ||
# run: make simple-sig | ||
# profile: minimal | ||
# toolchain: ${{ env.RUSTC_VERSION }} | ||
# override: true | ||
# components: rustfmt, clippy | ||
# target: x86_64-unknown-linux-gnu | ||
- name: Log in to ghcr | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
# 1. unsig (works) | ||
- name: Make unsig | ||
working-directory: container-images | ||
run: make unsig | ||
# 2. cosign-sig (works) | ||
- name: Make cosign-sig | ||
working-directory: container-images | ||
env: | ||
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }} | ||
run: make cosign-sig | ||
# 3. simple-sig | ||
- name: Make simple-sig | ||
working-directory: container-images | ||
run: make simple-sig | ||
#- name: runc version check | ||
# run: | | ||
# runc --version | ||
|
@@ -83,3 +79,6 @@ jobs: | |
#- name: Check for rustc | ||
# run: | | ||
# rustc --version | ||
#- name: Check gpg | ||
# run: | | ||
# gpg --version |