Skip to content

Commit

Permalink
Make docker build and push task runnable in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-de-pachtere committed Nov 4, 2024
1 parent 811a24e commit 29b6439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 0 additions & 2 deletions projects/website/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 29b6439

Please sign in to comment.