feat: revert change

This commit is contained in:
Lorenzo Migliorero 2024-07-30 13:09:32 +02:00
parent 75f9ccb85c
commit efc3c85d55
No known key found for this signature in database
GPG Key ID: 9A9F1AD60C05DFE2

View File

@ -9,7 +9,8 @@ jobs:
- run: - run:
name: Prepare .env file name: Prepare .env file
command: | command: |
cp .env.production.example .env.production cp apps/dokploy/.env.production.example .env.production
cp apps/dokploy/.env.production.example apps/dokploy/.env.production
- run: - run:
name: Build and push AMD64 image name: Build and push AMD64 image
command: | command: |
@ -31,7 +32,8 @@ jobs:
- run: - run:
name: Prepare .env file name: Prepare .env file
command: | command: |
cp .env.production.example .env.production cp apps/dokploy/.env.production.example .env.production
cp apps/dokploy/.env.production.example apps/dokploy/.env.production
- run: - run:
name: Build and push ARM64 image name: Build and push ARM64 image
command: | command: |
@ -56,7 +58,7 @@ jobs:
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_TOKEN docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_TOKEN
if [ "${CIRCLE_BRANCH}" == "main" ]; then if [ "${CIRCLE_BRANCH}" == "main" ]; then
VERSION=$(node -p "require('./package.json').version") VERSION=$(node -p "require('apps/dokploy/package.json').version")
echo $VERSION echo $VERSION
TAG="latest" TAG="latest"
@ -78,7 +80,6 @@ jobs:
fi fi
workflows: workflows:
version: 2
build-all: build-all:
jobs: jobs:
- build-amd64: - build-amd64: