Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 3bce730

Browse files
committed
Update the image-build workflow and use its image instead
Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent 234b228 commit 3bce730

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/image-build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,25 @@ jobs:
2424
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2525
- name: Set up Docker Buildx
2626
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3
27+
- name: Download artifact
28+
id: download-artifact
29+
uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
30+
with:
31+
github_token: ${{ github.token }}
32+
workflow: ".github/workflows/import_packages.yml"
33+
workflow_conclusion: success
34+
name: sqlite_data
35+
name_is_regexp: true
36+
skip_unpack: false
37+
if_no_artifact_found: ignore
2738
- name: Fetch latest release URL
2839
id: fetch_release_url
2940
run: |
3041
echo "LATEST_RELEASE=$(curl -s "https://github.com/api/repos/stacklok/codegate-ui/releases/latest" | jq -r '.zipball_url')" >> $GITHUB_ENV
42+
- name: Download git lfs dependencies
43+
run: |
44+
git lfs install
45+
git lfs pull
3146
- name: Test build on x86
3247
id: docker_build
3348
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v5

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
-p 8990:8990 \
5757
-v "$(pwd)"/codegate_volume:/app/codegate_volume \
5858
-e CODEGATE_APP_LOG_LEVEL=DEBUG \
59-
--restart unless-stopped ghcr.io/stacklok/codegate:latest
59+
--restart unless-stopped $DOCKER_IMAGE
6060
6161
# Confirm the container started
6262
echo "Container started:"
@@ -126,7 +126,7 @@ jobs:
126126
run: |
127127
poetry run python tests/integration/integration_tests.py
128128
129-
- name: Print the container logs (debugging)
129+
- name: Print the container logs (useful for debugging)
130130
if: always()
131131
run: |
132132
docker logs $CONTAINER_NAME

0 commit comments

Comments
 (0)