Skip to content

feat(docker): build

feat(docker): build #2

Workflow file for this run

name: Docker Compose Build and Push
on:
push:
branches:
- main
- master
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Check out the repository, including submodules
uses: actions/checkout@v3
with:
submodules: recursive
path: web
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker images
working-directory: ./web
run: |
docker compose build
docker compose push