GPTUBE-74 Add Individual page for video #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
# 1. build the image | |
# 2. tag the image | |
# 3. push the image to private repository | |
# 4. deploy the image to kubernetes cluster | |
# 5. update the deployment in kubernetes cluster | |
# 6. update the service in kubernetes cluster | |
name: deploy-test | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: "{{defaultContext}}:go-server" | |
push: true | |
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/gptube:ci |