Skip to content

Commit

Permalink
feat: adds docker build to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
pablojmarti committed Apr 25, 2023
1 parent 7df4527 commit 8c32d54
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy_to_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,26 @@ jobs:
- name: Build wp-nextjs
run: npm run build -- --filter=./projects/wp-nextjs

docker:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

# useful for emulation and building for different architectures
- name: Set Up QEMU
uses: docker/setup-qemu-action@v2

# Use Dockers Buildx build plugin
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

# TODO: Login to docker hub
- name: Build container and push to ...
uses: docker/build-push-action@v4
with:
file: deploy/Dockerfile
push: false #TODO: Update to true when we login
context: .

0 comments on commit 8c32d54

Please sign in to comment.