v2.5.2 #43
Workflow file for this run
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
name: Docker Image CI | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- | |
name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- | |
name: Build and push Wsgi Server | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
target: wsgi-server | |
push: true | |
tags: wongsaang/chatgpt-ui-wsgi-server:latest,wongsaang/chatgpt-ui-wsgi-server:${{ github.ref_name }} | |
- | |
name: Build and push Web Server | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
push: true | |
tags: wongsaang/chatgpt-ui-web-server:latest,wongsaang/chatgpt-ui-web-server:${{ github.ref_name }} |