Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm64 #1

Merged
merged 2 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .github/actions/tagged_release/docker/codesign/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ runs:
password: ${{ inputs.docker_hub_access_token }}

########################### Sign built Docker image using cosign ###########################
- name: Sign the published Docker image
shell: bash
env:
COSIGN_PASSWORD: "${{ inputs.codesign_password }}"
run: |
IMAGE_NAME="${{ inputs.docker_hub_org }}/osctrl-${{ inputs.osctrl_component }}:${{ inputs.docker_tag }}"
echo "${{ inputs.codesign_private_key }}" > cosign.key
cosign sign --key cosign.key docker.io/$IMAGE_NAME@${{ inputs.docker_image_digest }}
rm -f cosign.key
# - name: Sign the published Docker image
# shell: bash
# env:
# COSIGN_PASSWORD: "${{ inputs.codesign_password }}"
# run: |
# IMAGE_NAME="${{ inputs.docker_hub_org }}/osctrl-${{ inputs.osctrl_component }}:${{ inputs.docker_tag }}"
# echo "${{ inputs.codesign_private_key }}" > cosign.key
# cosign sign --key cosign.key docker.io/$IMAGE_NAME@${{ inputs.docker_image_digest }}
# rm -f cosign.key

########################### Verify signed image using cosign ###########################
- name: Verify the signed published Docker image
shell: bash
run: |
IMAGE_NAME="${{ inputs.docker_hub_org }}/osctrl-${{ inputs.osctrl_component }}:${{ inputs.docker_tag }}"
echo "${{ inputs.codesign_public_cert }}" > cosign.key
cosign verify --key cosign.key docker.io/$IMAGE_NAME@${{ inputs.docker_image_digest }}
rm -f cosign.key
# ########################### Verify signed image using cosign ###########################
# - name: Verify the signed published Docker image
# shell: bash
# run: |
# IMAGE_NAME="${{ inputs.docker_hub_org }}/osctrl-${{ inputs.osctrl_component }}:${{ inputs.docker_tag }}"
# echo "${{ inputs.codesign_public_cert }}" > cosign.key
# cosign verify --key cosign.key docker.io/$IMAGE_NAME@${{ inputs.docker_image_digest }}
# rm -f cosign.key
2 changes: 1 addition & 1 deletion .github/workflows/create_tagged_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
matrix:
components: ['tls', 'admin', 'api', 'cli']
goos: ['linux']
goarch: ['amd64']
goarch: ['amd64', 'arm64']
steps:
########################### Checkout code ###########################
- name: Checkout code
Expand Down