Skip to content

Docker Image CI

Docker Image CI #2

Workflow file for this run

name: Docker Image CI
on:
#push:
# branches: [ "main" ]
#pull_request:
# branches: [ "main" ]
workflow_dispatch:
branches: [ "main" ]
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
# IMAGE_NAME: ${{ github.repository | tr '[:upper:]''[:lower:]' }}
IMAGE_NAME: shortthirdman/bigdata-mlops-platform
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --progress=auto --compress --rm --tag $IMAGE_NAME:$(date +%s)