This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
try docker internal in proxy_pass #3
This file contains 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: ["main"] | |
jobs: | |
build_and_push_to_docker_hub: | |
name: Build and push 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: findsimilar | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Push to DockerHub | |
run: | | |
docker compose build | |
docker compose push |