Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDo1 authored May 3, 2023
1 parent 097818e commit 217171d
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
name: Docker Image CI

on:
release:
types: [published]
on: push

jobs:
release:
name: Create Github release
runs-on: ubuntu-20.04
if: startsWith(github.event.ref, 'refs/tags/v')

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: RELEASE.md
generate_release_notes: true

build:
name: Build docker images
if: startsWith(github.event.ref, 'refs/tags/v')

runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 217171d

Please sign in to comment.