remove comments from shoppinglist #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .github/workflows/build-and-publish-images.yml | |
| name: Build and push to DockerHub | |
| on: | |
| push: | |
| branches: ["master"] | |
| workflow_dispatch: | |
| jobs: | |
| build_and_push_to_docker_hub: | |
| name: Push Docker images to DockerHub | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@v3 | |
| - name: Set up Docker Build | |
| uses: docker/setup-buildx-action@v2 | |
| - name: Login to Docker | |
| uses: docker/login-action@v2 | |
| with: | |
| username: danteonline | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Push to DockerHub | |
| run: | | |
| docker compose build | |
| docker compose push |