Skip to content

Commit d10bd31

Browse files
bug: prepend proxy.replicated to lam image (#908)
* bug: prepend proxy.replicated to lam image we were pointing the lam image directly upstream. * bug: login to docker.io * chore: use lam through proxy during e2e
1 parent f99acba commit d10bd31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- name: Build Linux AMD64 and Output Metadata
122122
run: |
123123
export SHORT_SHA=dev-${{ needs.git-sha.outputs.git_sha }}
124-
export LOCAL_ARTIFACT_MIRROR_IMAGE=${{ needs.build-images.outputs.local-artifact-mirror }}
124+
export LOCAL_ARTIFACT_MIRROR_IMAGE=proxy.replicated.com/anonymous/${{ needs.build-images.outputs.local-artifact-mirror }}
125125
make -B embedded-cluster-linux-amd64 K0S_VERSION=$(make print-PREVIOUS_K0S_VERSION) K0S_BINARY_SOURCE_OVERRIDE=$(make print-PREVIOUS_K0S_BINARY_SOURCE_OVERRIDE) VERSION="${SHORT_SHA}-previous-k0s"
126126
tar -C output/bin -czvf embedded-cluster-linux-amd64-previous-k0s.tgz embedded-cluster
127127
./output/bin/embedded-cluster version metadata > metadata-previous-k0s.json
@@ -151,7 +151,7 @@ jobs:
151151
- name: Build CI binary
152152
run: |
153153
export SHORT_SHA=dev-${{ needs.git-sha.outputs.git_sha }}
154-
export LOCAL_ARTIFACT_MIRROR_IMAGE=${{ needs.build-images.outputs.local-artifact-mirror }}
154+
export LOCAL_ARTIFACT_MIRROR_IMAGE=proxy.replicated.com/anonymous/${{ needs.build-images.outputs.local-artifact-mirror }}
155155
echo "# channel release object" > e2e/kots-release-install/release.yaml
156156
echo 'channelID: "2cHXb1RCttzpR0xvnNWyaZCgDBP"' >> e2e/kots-release-install/release.yaml
157157
echo 'channelSlug: "ci"' >> e2e/kots-release-install/release.yaml

.github/workflows/release-prod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
USERNAME: ${{ secrets.DOCKERHUB_USER }}
5757
PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
5858
run: |
59-
make -C local-artifact-mirror apko build-and-push-local-artifact-mirror-image \
59+
make -C local-artifact-mirror apko apko-login build-and-push-local-artifact-mirror-image \
6060
PACKAGE_VERSION=${{ needs.get-tag.outputs.tag-name }}
6161
echo "image=$(cat local-artifact-mirror/build/image)" >> $GITHUB_OUTPUT
6262
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
make embedded-cluster-linux-amd64 \
8181
VERSION=${{ needs.get-tag.outputs.tag-name }} \
82-
LOCAL_ARTIFACT_MIRROR_IMAGE=${{ needs.build-images.outputs.local-artifact-mirror }}
82+
LOCAL_ARTIFACT_MIRROR_IMAGE=proxy.replicated.com/anonymous/${{ needs.build-images.outputs.local-artifact-mirror }}
8383
tar -C output/bin -czvf embedded-cluster-linux-amd64.tgz embedded-cluster
8484
8585
- name: Output Metadata

0 commit comments

Comments
 (0)