Skip to content

Commit

Permalink
feat: use linea-resolver repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Julink-eth committed Apr 18, 2024
1 parent 7a1eddb commit 56045c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ens-app-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ jobs:
- name: Set Docker Tag
id: docker-tag
if: ${{ github.event_name != 'release' }}
run: |
echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)" >> $GITHUB_ENV
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)-poh-verifier" >> $GITHUB_ENV

- name: Set Docker Tag - Release
id: docker-tag-release
if: ${{ github.event_name == 'release' }}
run: |
echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)-${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)-poh-verifier-${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Login to Docker Repository
uses: docker/login-action@v2
Expand All @@ -49,5 +47,5 @@ jobs:
context: ./
file: ./packages/ens-app-v3/Dockerfile
push: true
tags: consensys/ens-app:${{ env.DOCKER_TAG }}
tags: consensys/linea-resolver:${{ env.DOCKER_TAG }}
build-args: BUILD_COMMAND="pnpm build"
8 changes: 3 additions & 5 deletions .github/workflows/poh-verifier-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ jobs:
- name: Set Docker Tag
id: docker-tag
if: ${{ github.event_name != 'release' }}
run: |
echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)" >> $GITHUB_ENV
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)-poh-verifier" >> $GITHUB_ENV

- name: Set Docker Tag - Release
id: docker-tag-release
if: ${{ github.event_name == 'release' }}
run: |
echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)-${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)-poh-verifier-${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Login to Docker Repository
uses: docker/login-action@v2
Expand All @@ -53,4 +51,4 @@ jobs:
context: ./packages/poh-verifier
file: ./packages/poh-verifier/Dockerfile
push: true
tags: consensys/poh-verifier:${{ env.DOCKER_TAG }}
tags: consensys/linea-resolver:${{ env.DOCKER_TAG }}

0 comments on commit 56045c5

Please sign in to comment.