Skip to content

Commit

Permalink
attempt to run first 3 make targets
Browse files Browse the repository at this point in the history
  • Loading branch information
portersrc committed Oct 4, 2024
1 parent 44e1e3a commit fc26971
Showing 1 changed file with 37 additions and 38 deletions.
75 changes: 37 additions & 38 deletions .github/workflows/porter-gha-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -83,3 +79,6 @@ jobs:
#- name: Check for rustc
# run: |
# rustc --version
#- name: Check gpg
# run: |
# gpg --version

0 comments on commit fc26971

Please sign in to comment.