diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..9e7df93 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,29 @@ +name: Docker Image CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Docker Publish + # You may pin to the exact commit or the version. + # uses: manusa/actions-publish-docker@db938e45d2a3487e0eab9646e83550f554c17af3 + uses: manusa/actions-publish-docker@v1.1.2 + with: + # Name of the Docker image + name: request-mirror + # Tag for the Docker image + tag: latest + # Username for Docker registry + username: ${{ secrets.docker_hub_username }} + # Password for Docker registry + password: ${{ secrets.docker_hub_password }}