From 97284bfff2f9d8bc469b6e2809b0fb7587d0aef4 Mon Sep 17 00:00:00 2001 From: Freddy Li Date: Mon, 26 Aug 2024 09:06:43 -0400 Subject: [PATCH] update e2e image tag for devnet --- .github/workflows/e2e-docker-build-push.yml | 2 +- .github/workflows/tangle-e2e-docker-build-push.yml | 4 ++-- Dockerfile_tangle_standalone_e2e | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e-docker-build-push.yml b/.github/workflows/e2e-docker-build-push.yml index bb58ca8..e053c54 100644 --- a/.github/workflows/e2e-docker-build-push.yml +++ b/.github/workflows/e2e-docker-build-push.yml @@ -1,7 +1,7 @@ # The Licensed Work is (c) 2022 Sygma # SPDX-License-Identifier: LGPL-3.0-only -name: Build and publish E2E Docker image +name: Build and publish E2E Docker image with Sygma standalone chain node on: push: diff --git a/.github/workflows/tangle-e2e-docker-build-push.yml b/.github/workflows/tangle-e2e-docker-build-push.yml index 53065f0..1565937 100644 --- a/.github/workflows/tangle-e2e-docker-build-push.yml +++ b/.github/workflows/tangle-e2e-docker-build-push.yml @@ -31,7 +31,7 @@ jobs: COMMIT_HASH=$(echo $GITHUB_SHA | head -c7) # creates local variable to hold docker images - TAGS="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${COMMIT_HASH},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:e2e-latest" + TAGS="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${COMMIT_HASH},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:e2e-tangle-latest" # check if branch/tag that triggered workflow was from tags if [[ $GITHUB_REF == refs/tags/* ]]; then @@ -40,7 +40,7 @@ jobs: VERSION=${GITHUB_REF#refs/tags/} # append version and e2e testing name to tags - TAGS="${TAGS},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:e2e-${VERSION}" + TAGS="${TAGS},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:e2e-tangle-${VERSION}" fi diff --git a/Dockerfile_tangle_standalone_e2e b/Dockerfile_tangle_standalone_e2e index b491845..e264be7 100644 --- a/Dockerfile_tangle_standalone_e2e +++ b/Dockerfile_tangle_standalone_e2e @@ -10,7 +10,7 @@ COPY ./scripts/tangle . # build RUN git clone https://github.com/webb-tools/tangle.git ./tangle WORKDIR /code/tangle -RUN git checkout sygma/polkadot-version-upgrade +RUN git checkout main RUN cargo build --release --features testnet FROM --platform=linux/amd64 node:18.14.2