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

[workflow] adjust package paths #13

Closed
wants to merge 9 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
id: get_version_from_container_reg
run: |
export GHCR_TOKEN=$(echo ${{ github.token }} | base64)
echo "version=$(curl -H "Authorization: Bearer $GHCR_TOKEN" https://ghcr.io/v2/${{ github.repository_owner }}/cap-operator-manager/tags/list | jq '.tags[]' | sort -V | tail -n 2 | head -n 1)" >> $GITHUB_OUTPUT
echo "version=$(curl -H "Authorization: Bearer $GHCR_TOKEN" https://ghcr.io/v2/${{ github.repository }}/cap-operator-manager/tags/list | jq '.tags[]' | sort -V | tail -n 2 | head -n 1)" >> $GITHUB_OUTPUT

- name: Print docker version from container registry
run: "echo ${{ steps.get_version_from_container_reg.outputs.version }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ jobs:
chart_name=$(yq .name $CHART_DIRECTORY/Chart.yaml)
chart_version=$(yq .version $CHART_DIRECTORY/Chart.yaml)
file=$chart_name-$chart_version.tgz
repository=$REGISTRY/${{ github.repository_owner }}/$RELEASE_TAG_PREFIX
repository=$REGISTRY/${{ github.repository }}/helm
helm --registry-config $RUNNER_TEMP/helm-config.json push $file oci://${repository,,}
4 changes: 2 additions & 2 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ resources:

images:
- name: controller
newName: ghcr.io/sap/cap-operator-manager
newTag: 0.0.1
newName: ghcr.io/sap/cap-operator-lifecycle/cap-operator-manager
newTag: 0.0.1