Skip to content

Commit

Permalink
publish docker image on master push (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed May 14, 2024
1 parent eb8e234 commit d354fea
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: docker

on:
workflow_dispatch:
inputs:
branch:
description: Branch to build docker image (optional).
required: false
type: string
push:
branches:
- master
tags:
- v*

jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch || github.ref }}
submodules: recursive
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down

0 comments on commit d354fea

Please sign in to comment.