File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 docker-amd :
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-22.04
1212 steps :
1313 - name : Checkout
1414 uses : actions/checkout@v4
@@ -26,13 +26,14 @@ jobs:
2626 id : meta
2727 run : |
2828 if [ "${{ github.ref }}" = "refs/heads/main" ]; then
29+ TAG="latest"
2930 VERSION=$(node -p "require('./apps/dokploy/package.json').version")
30- echo "tags=${IMAGE_NAME}:latest,${IMAGE_NAME}:${VERSION}" >> $GITHUB_OUTPUT
3131 elif [ "${{ github.ref }}" = "refs/heads/canary" ]; then
32- echo "tags=${IMAGE_NAME}: canary" >> $GITHUB_OUTPUT
32+ TAG=" canary"
3333 else
34- echo "tags=${IMAGE_NAME}: feature" >> $GITHUB_OUTPUT
34+ TAG=" feature"
3535 fi
36+ echo "tags=${IMAGE_NAME}:${TAG}-amd64" >> $GITHUB_OUTPUT
3637
3738 - name : Prepare env file
3839 run : |
@@ -65,13 +66,14 @@ jobs:
6566 id : meta
6667 run : |
6768 if [ "${{ github.ref }}" = "refs/heads/main" ]; then
69+ TAG="latest"
6870 VERSION=$(node -p "require('./apps/dokploy/package.json').version")
69- echo "tags=${IMAGE_NAME}:latest,${IMAGE_NAME}:${VERSION}" >> $GITHUB_OUTPUT
7071 elif [ "${{ github.ref }}" = "refs/heads/canary" ]; then
71- echo "tags=${IMAGE_NAME}: canary" >> $GITHUB_OUTPUT
72+ TAG=" canary"
7273 else
73- echo "tags=${IMAGE_NAME}: feature" >> $GITHUB_OUTPUT
74+ TAG=" feature"
7475 fi
76+ echo "tags=${IMAGE_NAME}:${TAG}-arm64" >> $GITHUB_OUTPUT
7577
7678 - name : Prepare env file
7779 run : |
You can’t perform that action at this time.
0 commit comments