Skip to content

Commit e4e0575

Browse files
committed
v0.0.6 Test workflow
1 parent 0e40545 commit e4e0575

File tree

2 files changed

+20
-25
lines changed

2 files changed

+20
-25
lines changed

.github/workflows/create-release.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1-
name: Publish Docker image
1+
name: Release and publish to Docker
22
on:
3-
release:
4-
types: [published]
3+
push:
4+
tags:
5+
- 'v*'
56
jobs:
6-
push_to_registry:
7+
release:
8+
name: Create release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
- name: Create release
14+
id: create_release
15+
uses: actions/create-release@v1
16+
with:
17+
tag_name: ${{ github.ref }}
18+
release_name: ${{ github.ref }} RELEASE
19+
draft: false
20+
prerelease: false
21+
publish:
722
name: Push Docker image to Docker Hub
823
runs-on: ubuntu-latest
924
steps:
@@ -14,7 +29,7 @@ jobs:
1429
- name: Build assets
1530
run: |
1631
./docker-build.sh
17-
- name: Push to Docker Hub
32+
- name: Push to Docker hub
1833
uses: docker/build-push-action@v1
1934
with:
2035
username: ${{ secrets.DOCKER_USERNAME }}

0 commit comments

Comments
 (0)