Skip to content

Docker Image Deployment #5

Docker Image Deployment

Docker Image Deployment #5

Workflow file for this run

name: Docker Image Deployment
on: workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build and Push Docker Image
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
GITHUB_REPOSITORY: ${{ github.repository }}
GCR_USERNAME: ${{ secrets.GCR_USERNAME }}
GCR_TOKEN: ${{ secrets.GCR_TOKEN }}
REGISTRY: "GCR"
IMAGE_REPO: "ghcr.io/dsaidgovsg/tcs-super-linter"
IMAGE_VERSION: "v1.0.0" # or any version/tag you want to use
DOCKERFILE_PATH: "${{ github.workspace }}/Dockerfile-slim"
run: |
bash .automation/upload-docker.sh