Skip to content

Docker Image CI

Docker Image CI #2

Workflow file for this run

name: Docker Image CI
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: sh dockerBuild.sh
- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: morvanzhou
password: ${{ secrets.RETHINK_DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: morvanzhou/rethink:${{ github.ref_name }}