fix: repository name in lowercase
This commit is contained in:
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
ui_commit: ${{ steps.git-parse.outputs.PULP_UI_COMMIT }}
|
ui_commit: ${{ steps.git-parse.outputs.PULP_UI_COMMIT }}
|
||||||
builder_commit: ${{ steps.git-parse.outputs.SHORT_BUILDER_SHA_COMMIT }}
|
builder_commit: ${{ steps.git-parse.outputs.BUILDER_SHA_COMMIT }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -16,10 +16,13 @@ jobs:
|
|||||||
- name: Fetch commit hash for Pulp UI repository
|
- name: Fetch commit hash for Pulp UI repository
|
||||||
id: git-parse
|
id: git-parse
|
||||||
run: |
|
run: |
|
||||||
echo "PULP_UI_COMMIT=$(git -C vendor/pulp-ui rev-parse HEAD)" >> $GITEA_OUTPUT
|
FULL_PULP_UI_COMMIT="$(git -C vendor/pulp-ui rev-parse HEAD)"
|
||||||
|
SHORT_PULP_UI_COMMIT="${FULL_PULP_UI_COMMIT:0:7}"
|
||||||
|
echo "PULP_UI_COMMIT=${SHORT_PULP_UI_COMMIT}" >> $GITEA_OUTPUT
|
||||||
|
|
||||||
FULL_BUILDER_SHA="${{ gitea.sha }}"
|
FULL_BUILDER_SHA="${{ gitea.sha }}"
|
||||||
SHORT_BUILDER_SHA="${FULL_BUILDER_SHA:0:7}"
|
SHORT_BUILDER_SHA="${FULL_BUILDER_SHA:0:7}"
|
||||||
echo "SHORT_BUILDER_SHA_COMMIT=${SHORT_SHA}" >> $GITEA_OUTPUT
|
echo "BUILDER_SHA_COMMIT=${SHORT_SHA}" >> $GITEA_OUTPUT
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Log in to built-in registry
|
- name: Log in to built-in registry
|
||||||
@@ -81,7 +84,7 @@ jobs:
|
|||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
build-args: |
|
build-args: |
|
||||||
BASE_IMG=code.kruzya.dev/CrazyHackGUT/pulp-ui-cri/base-frontend:sha-${{ needs.build-frontend.outputs.builder_commit }}
|
BASE_IMG=code.kruzya.dev/crazyhackgut/pulp-ui-cri/base-frontend:sha-${{ needs.build-frontend.outputs.builder_commit }}
|
||||||
|
|
||||||
# TODO: add build nginx image
|
# TODO: add build nginx image
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user