We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8305d06 commit a6930afCopy full SHA for a6930af
.github/workflows/tagBasedImageBuild.yml
@@ -7,6 +7,9 @@ on:
7
jobs:
8
buildImageForNewTag:
9
runs-on: ubuntu-latest
10
+ # Set environment variables
11
+ env:
12
+ LATEST_TAG: ${{ (github.event.release.target_commitish == 'main') && 'thirdweb/engine:latest' || '' }}
13
14
steps:
15
- name: Check Disk Space Before Build
@@ -39,7 +42,7 @@ jobs:
39
42
push: true
40
43
tags: |
41
44
thirdweb/engine:${{ github.event.release.tag_name }}
- ${{ github.event.release.target_commitish == 'main' && 'thirdweb/engine:latest' }}
45
+ ${{ env.LATEST_TAG }}
46
build-args: |
47
ENGINE_VERSION=${{ github.event.release.tag_name }}
48
0 commit comments