Skip to content

Commit

Permalink
Merge pull request #606 from Cray-HPE/feature/build-action-v2
Browse files Browse the repository at this point in the history
CASM-4667 Migrate to new signing key, build action v2
  • Loading branch information
mtupitsyn authored May 2, 2024
2 parents fbaa719 + bac478b commit 6c69369
Show file tree
Hide file tree
Showing 443 changed files with 3,545 additions and 3,331 deletions.
17 changes: 8 additions & 9 deletions .github/scripts/template/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP
# (C) Copyright 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -39,18 +39,17 @@ jobs:
DOCKER_REPO: artifactory.algol60.net/csm-docker/${{ github.ref == 'refs/heads/main' && 'stable' || 'unstable' }}/<<IMAGE>>
DOCKER_TAG: <<TAG>>
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
fail_on_snyk_errors: true
17 changes: 8 additions & 9 deletions .github/workflows/cray-canu.canu-test.1.6.35.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP
# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -39,18 +39,17 @@ jobs:
DOCKER_REPO: artifactory.algol60.net/csm-docker/${{ github.ref == 'refs/heads/main' && 'stable' || 'unstable' }}/cray-canu/canu-test
DOCKER_TAG: 1.6.35
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
fail_on_snyk_errors: false # upstream image
17 changes: 8 additions & 9 deletions .github/workflows/cray-canu.canu-test.1.6.36.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP
# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -39,18 +39,17 @@ jobs:
DOCKER_REPO: artifactory.algol60.net/csm-docker/${{ github.ref == 'refs/heads/main' && 'stable' || 'unstable' }}/cray-canu/canu-test
DOCKER_TAG: 1.6.36
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
fail_on_snyk_errors: false # upstream image
15 changes: 8 additions & 7 deletions .github/workflows/docker.io.alpine.git.1.0.15.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
# (C) Copyright 2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -40,14 +40,15 @@ jobs:
DOCKER_TAG: 1.0.15
steps:
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
15 changes: 8 additions & 7 deletions .github/workflows/docker.io.alpine.git.2.32.0.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
# (C) Copyright 2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -40,14 +40,15 @@ jobs:
DOCKER_TAG: 2.32.0
steps:
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
15 changes: 8 additions & 7 deletions .github/workflows/docker.io.alpine.helm.3.9.4.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
# (C) Copyright 2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -40,15 +40,16 @@ jobs:
DOCKER_TAG: 3.9.4
steps:
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
fail_on_snyk_errors: true
15 changes: 8 additions & 7 deletions .github/workflows/docker.io.appropriate.curl.latest.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
# (C) Copyright 2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -40,14 +40,15 @@ jobs:
DOCKER_TAG: latest
steps:
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
15 changes: 8 additions & 7 deletions .github/workflows/docker.io.bats.bats.v1.1.0.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
# (C) Copyright 2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -40,14 +40,15 @@ jobs:
DOCKER_TAG: v1.1.0
steps:
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
17 changes: 8 additions & 9 deletions .github/workflows/docker.io.bats.bats.v1.4.1.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP
# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -39,18 +39,17 @@ jobs:
DOCKER_REPO: artifactory.algol60.net/csm-docker/${{ github.ref == 'refs/heads/main' && 'stable' || 'unstable' }}/docker.io/bats/bats
DOCKER_TAG: v1.4.1
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
fail_on_snyk_errors: true
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP
# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -39,18 +39,17 @@ jobs:
DOCKER_REPO: artifactory.algol60.net/csm-docker/${{ github.ref == 'refs/heads/main' && 'stable' || 'unstable' }}/docker.io/bitnami/bitnami-shell
DOCKER_TAG: 11-debian-11-r102
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
fail_on_snyk_errors: false
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP
# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -39,18 +39,17 @@ jobs:
DOCKER_REPO: artifactory.algol60.net/csm-docker/${{ github.ref == 'refs/heads/main' && 'stable' || 'unstable' }}/docker.io/bitnami/bitnami-shell
DOCKER_TAG: 11-debian-11-r109
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: build-sign-scan
uses: Cray-HPE/github-actions/build-sign-scan@main
uses: Cray-HPE/github-actions/build-sign-scan@build-sign-scan/v2
with:
context_path: ${{ env.CONTEXT_PATH }}
docker_repo: ${{ env.DOCKER_REPO }}
docker_tag: ${{ env.DOCKER_TAG }}
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }}
cosign_key: ${{ secrets.COSIGN_KEY }}
docker_username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }}
docker_password: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }}
sign: ${{ github.ref == 'refs/heads/main' }}
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER_RSA }}
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT_RSA }}
cosign_key: ${{ secrets.COSIGN_KEY_RSA }}
snyk_token: ${{ secrets.SNYK_TOKEN }}
github_sha: $GITHUB_SHA
fail_on_snyk_errors: false
Loading

0 comments on commit 6c69369

Please sign in to comment.