Skip to content

Commit 136553f

Browse files
vsilentrobotizeitCopilot
authored
Dev (#96)
* Status Panel website * npm vault read path * cargo fmt * schema_version now accepts both numeric 1 and string 1 for Vault NPM credentials * replace curl command probing with reqwest * better container resolving * smtp pipe works * real website deployment example * vendor(stacker): include stacker crates in repo to make CI PR-safe Vendor pipe-adapter SDK/Mail; update Cargo.toml and CI to use vendored copy. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * clippy fixes * copy stacker source code * include only stacker/crates * show ports in status * fmt all --------- Co-authored-by: Vasili Pascal <vasili.pascal@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2f0cff2 commit 136553f

978 files changed

Lines changed: 188329 additions & 231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ jobs:
201201
name: Docker Build & Push (branches/tags)
202202
runs-on: ubuntu-latest
203203
needs: build-and-test
204+
env:
205+
STACKER_REPO_TOKEN: ${{ secrets.CONFIG_FIXTURES_TOKEN }}
204206
if: |
205207
github.ref == 'refs/heads/production' ||
206208
github.ref == 'refs/heads/master' ||
@@ -211,6 +213,8 @@ jobs:
211213
- name: Checkout repository
212214
uses: actions/checkout@v4
213215

216+
217+
214218
- name: Set up QEMU
215219
uses: docker/setup-qemu-action@v3
216220

@@ -228,8 +232,8 @@ jobs:
228232
run: |
229233
REF_NAME="${GITHUB_REF#refs/*/}"
230234
TAGS="trydirect/status:${REF_NAME}\ntrydirect/status:${GITHUB_SHA::7}"
231-
if [[ "${GITHUB_REF}" == "refs/heads/master" ]]; then
232-
TAGS="${TAGS}\ntrydirect/status:latest"
235+
if [[ "${GITHUB_REF}" == "refs/heads/dev" ]]; then
236+
TAGS="${TAGS}\ntrydirect/status:unstable\ntrydirect/status:latest"
233237
fi
234238
echo "ref_name=${REF_NAME}" >> $GITHUB_OUTPUT
235239
echo "sha_short=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
@@ -240,6 +244,12 @@ jobs:
240244
- name: Build and push image
241245
uses: docker/build-push-action@v5
242246
with:
247+
context: .
248+
build-contexts: |
249+
stacker=./stacker
243250
file: Dockerfile.prod
251+
platforms: linux/amd64,linux/arm64
244252
push: true
245253
tags: ${{ steps.vars.outputs.tags }}
254+
cache-from: type=gha
255+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)