Skip to content

Commit

Permalink
fix(gha): Set Package Architecture when Uploading to Pulp (#10339)
Browse files Browse the repository at this point in the history
* fix(gha): set package arch for upload

* Update .github/workflows/release.yml

Co-authored-by: Tyler Ball <2481463+tyler-ball@users.noreply.github.com>

---------

Co-authored-by: Tyler Ball <2481463+tyler-ball@users.noreply.github.com>
  • Loading branch information
curiositycasualty and tyler-ball authored Feb 24, 2023
1 parent 50e8ba2 commit 35c4b7a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,19 @@ jobs:
name: ${{ matrix.artifact-from }}-packages
path: bazel-bin/pkg

- name: Set package architecture
id: pkg-arch
run: |
arch='amd64'
if [[ '${{ matrix.label }}' == *'arm64' ]]; then
arch='arm64'
fi
echo "arch=$arch"
echo "arch=$arch" >> $GITHUB_OUTPUT
- name: Upload Packages to PULP
env:
ARCHITECTURE: ${{ steps.pkg-arch.outputs.arch }}
OFFICIAL_RELEASE: ${{ github.event.inputs.official }}
PULP_HOST: https://api.download.konghq.com
PULP_USERNAME: admin
Expand Down

1 comment on commit 35c4b7a

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:35c4b7a22d266262e4165fa9869a73c21202c677
Artifacts available https://github.com/Kong/kong/actions/runs/4264968819

Please sign in to comment.