Skip to content

Commit

Permalink
Merge pull request #362 from jmpsec/fix-tagged-release-gha
Browse files Browse the repository at this point in the history
Fixing GHA for create_tagged_release job
  • Loading branch information
javuto authored Nov 4, 2023
2 parents ffa2198 + 10c6fd5 commit 606bf7a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/actions/tagged_release/docker/codesign/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ inputs:
description: Dockerhub image digest
docker_hub_org:
required: true
description: Pass DockerHub org to aciton
description: Pass DockerHub org to action
docker_hub_username:
required: true
description: Pass DockerHub username to aciton
description: Pass DockerHub username to action
docker_hub_access_token:
required: true
description: Pass DockerHub access token to aciton
description: Pass DockerHub access token to action
codesign_password:
required: true
description: Provide password for codesign private key
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/tagged_release/github/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
run: "ls -la"

- name: Rename Linux or darwin binary
if: go_os == 'linux' || go_os == 'darwin'
if: ${{ inputs.go_os }} == 'linux' || ${{ inputs.go_os }} == 'darwin'
shell: bash
run: |
mv \
Expand All @@ -48,18 +48,18 @@ runs:
########################### Download osctrl DEB package ###########################
- name: Download a osctrl binaries
if: go_os == 'linux'
if: ${{ inputs.go_os }} == 'linux'
uses: actions/download-artifact@v3
with:
name: osctrl-${{ inputs.osctrl_component }}_0.0.${{ inputs.commit_sha }}_${{ inputs.go_arch }}.deb

- name: LS
if: go_os == 'linux'
if: ${{ inputs.go_os }} == 'linux'
shell: bash
run: "ls -la"

- name: Rename DEB package
if: go_os == 'linux'
if: ${{ inputs.go_os }} == 'linux'
shell: bash
run: |
mv \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create_tagged_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
matrix:
components: ['tls', 'admin', 'api', 'cli']
goos: ['linux']
goarch: ['amd64']
goarch: ['amd64', 'arm64']
steps:
########################### Checkout code ###########################
- name: Checkout code
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
matrix:
components: ['tls', 'admin', 'api', 'cli']
goos: ['linux']
goarch: ['amd64']
goarch: ['amd64', 'arm64']
steps:
########################### Checkout code ###########################
- name: Checkout code
Expand Down

0 comments on commit 606bf7a

Please sign in to comment.