Skip to content

Commit

Permalink
Merge pull request #16 from ExpTechTW/Dockerfile
Browse files Browse the repository at this point in the history
fix: deploy
  • Loading branch information
cstrikeasia authored Jun 22, 2024
2 parents f8185ec + 324f009 commit 267aefd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: "deploy"
on:
push:
branches: main
pull_request:
branches: "**"

jobs:
docker:
Expand All @@ -25,6 +23,8 @@ jobs:

- name: Build and push
uses: docker/build-push-action@v6
env:
DOCKER_BUILD_NO_SUMMARY: true
with:
platforms: linux/amd64,linux/arm64
push: true
Expand All @@ -38,4 +38,6 @@ jobs:
docker pull images.exptech.dev/exptech-docs
docker image ls -a
cd /home/whes1015
docker compose up -d
docker compose up -d
docker image rm $(docker images -f "dangling=true" -q)
docker image ls -a

0 comments on commit 267aefd

Please sign in to comment.