π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
ci: Container for dev had wrong name, and a few other fixes
jamesreadf2a2179fad03
diff --git a/.dockerignore b/.dockerignoreindex a04f7947b..7acfe5077 100644--- a/.dockerignore+++ b/.dockerignore@@ -1,9 +1,13 @@# We want the docker builds to be clean, and as fast as possible. Don't send# any half-built stuff in the build context as a pre-caution (also saves copying# 180k files in node_modules that isn't used!).-node_modules+**/node_modulesdist.nx.devcontainer-.git-*.md+**/.git+**/dist+**/*.md+**/LICENSE+**/npm-debug.log+**/*.vscodediff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.ymlindex 8c2087a06..2e7b116a1 100644--- a/.github/workflows/build-containers.yml+++ b/.github/workflows/build-containers.yml@@ -8,7 +8,7 @@ on:- '*'jobs:- build-tag:+ build-containers:runs-on: ubuntu-lateststeps:- name: Checkout@@ -30,10 +30,14 @@ jobs:run: |echo "DATE=$(date +'%s')" >> "$GITHUB_ENV"+ - name: Print post-build debug info+ run: |+ docker images+- name: docker tagrun: |docker tag localhost/postiz ghcr.io/gitroomhq/postiz-app:${{ env.DATE }}docker push ghcr.io/gitroomhq/postiz-app:${{ env.DATE }}- docker tag localhost/postiz-devcontainer ghcr.io/gitroomhq/postiz-app:${{ env.DATE }}+ docker tag localhost/postiz-devcontainer ghcr.io/gitroomhq/postiz-devcontainer:${{ env.DATE }}docker push ghcr.io/gitroomhq/postiz-devcontainer:${{ env.DATE }}diff --git a/.gitignore b/.gitignoreindex 02ae82bc6..a45f48df2 100644--- a/.gitignore+++ b/.gitignore@@ -42,3 +42,7 @@ Thumbs.db# Next.js.next++# Vim files+**/*.swp+**/*.swodiff --git a/Dockerfile.dev b/Dockerfile.devindex d5c0016d9..deb667e41 100644--- a/Dockerfile.dev+++ b/Dockerfile.dev@@ -1,4 +1,4 @@-# This Dockerfile is used for producing 3 container images.+# This Dockerfile is used for producing 3 container images.## base - which is thrown away, that contains node and the basic infrastructure.# devcontainer - which is used for development, and contains the source code and the node_modules.diff --git a/var/docker/docker-build.sh b/var/docker/docker-build.shindex 48ff1e2e7..5393edec0 100755--- a/var/docker/docker-build.sh+++ b/var/docker/docker-build.sh@@ -1,5 +1,7 @@#!/bin/bash+set -o xtrace+docker rmi localhost/postiz || truedocker build --target dist -t localhost/postiz -f Dockerfile.dev .docker build --target devcontainer -t localhost/postiz-devcontainer -f Dockerfile.dev .