mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update
This commit is contained in:
parent
e82db47ec4
commit
b6ae502b92
16
.github/workflows/docker-build.yml
vendored
16
.github/workflows/docker-build.yml
vendored
@ -8,7 +8,7 @@ env:
|
||||
|
||||
jobs:
|
||||
docker-amd:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -26,13 +26,14 @@ jobs:
|
||||
id: meta
|
||||
run: |
|
||||
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
|
||||
TAG="latest"
|
||||
VERSION=$(node -p "require('./apps/dokploy/package.json').version")
|
||||
echo "tags=${IMAGE_NAME}:latest,${IMAGE_NAME}:${VERSION}" >> $GITHUB_OUTPUT
|
||||
elif [ "${{ github.ref }}" = "refs/heads/canary" ]; then
|
||||
echo "tags=${IMAGE_NAME}:canary" >> $GITHUB_OUTPUT
|
||||
TAG="canary"
|
||||
else
|
||||
echo "tags=${IMAGE_NAME}:feature" >> $GITHUB_OUTPUT
|
||||
TAG="feature"
|
||||
fi
|
||||
echo "tags=${IMAGE_NAME}:${TAG}-amd64" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Prepare env file
|
||||
run: |
|
||||
@ -65,13 +66,14 @@ jobs:
|
||||
id: meta
|
||||
run: |
|
||||
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
|
||||
TAG="latest"
|
||||
VERSION=$(node -p "require('./apps/dokploy/package.json').version")
|
||||
echo "tags=${IMAGE_NAME}:latest,${IMAGE_NAME}:${VERSION}" >> $GITHUB_OUTPUT
|
||||
elif [ "${{ github.ref }}" = "refs/heads/canary" ]; then
|
||||
echo "tags=${IMAGE_NAME}:canary" >> $GITHUB_OUTPUT
|
||||
TAG="canary"
|
||||
else
|
||||
echo "tags=${IMAGE_NAME}:feature" >> $GITHUB_OUTPUT
|
||||
TAG="feature"
|
||||
fi
|
||||
echo "tags=${IMAGE_NAME}:${TAG}-arm64" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Prepare env file
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user