From 29b6439a0198037c60fe1542a83ad53f2aa34500 Mon Sep 17 00:00:00 2001 From: Nathan De Pachtere Date: Mon, 4 Nov 2024 16:23:26 +0100 Subject: [PATCH] Make docker build and push task runnable in CI --- .github/workflows/ci.yml | 2 ++ projects/website/moon.yml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c31b2f..851c21f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,8 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push + env: + FONTAWESOME_PACKAGE_TOKEN: ${{ secrets.FONTAWESOME_PACKAGE_TOKEN }} run: 'moon ci :docker-push --log trace' deploy: name: 'Deploy to VPS' diff --git a/projects/website/moon.yml b/projects/website/moon.yml index 8b9573f..9346bbf 100644 --- a/projects/website/moon.yml +++ b/projects/website/moon.yml @@ -23,14 +23,12 @@ tasks: command: docker build . -t alpsify/lychen-website:latest deps: - build - local: true platform: system docker-push: command: docker push alpsify/lychen-website:latest deps: - docker-build - local: true platform: system dokploy-deploy: