Publish payload dev container also
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
3wc 2024-05-19 12:35:18 -03:00
parent 7d2f0822fa
commit b1e2c8d30b
4 changed files with 17 additions and 5 deletions

View File

@ -14,7 +14,20 @@ steps:
registry: git.autonomic.zone
context: astro
dockerfile: astro/Dockerfile
- name: publish payload container
- name: publish payload dev container
image: plugins/docker
settings:
username: 3wordchant
password:
from_secret: git_autonomic_zone_token_3wc
# NOTE: edit this if you want your image called something else
repo: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload-dev
auto_tag: true
registry: git.autonomic.zone
context: payload
dockerfile: payload/Dockerfile
target: dev
- name: publish payload prod container
image: plugins/docker
settings:
username: 3wordchant

View File

@ -19,7 +19,7 @@ services:
- payload
payload:
image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload:latest
image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload-dev:latest
container_name: ${NAME}-payload
restart: unless-stopped
build:

View File

@ -4,8 +4,8 @@
"license": "AGPL-3.0-or-later",
"version": "1.2",
"scripts": {
"dev": "docker compose up",
"dev": "docker compose up --build",
"stop": "docker compose down",
"dev:build": "docker compose up --build"
"dev:nobuild": "docker compose up"
}
}

View File

@ -9,7 +9,6 @@ ENV NODE_ENV=development
EXPOSE 3001
CMD ["yarn","dev"]
FROM base AS build
ENV NODE_ENV=production
WORKDIR /build