Skip to content

Docker Image CI

Docker Image CI #12

Workflow file for this run

name: Docker Image CI
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag for docker image'
required: true
type: string
push:
description: 'Push the image'
required: true
type: boolean
latest:
description: 'Is latest'
required: true
type: boolean
jobs:
build:
name: build and push
runs-on: windows-latest
env:
GH_CI_TAG: ${{ inputs.tag }}
GH_CI_PUSH: ${{ inputs.push }}
GH_CI_LATEST: ${{ inputs.latest }}
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run a multi-line script
run: .\build.ps1