Spaces:
Runtime error
Runtime error
Update docker-publish.yml
Browse files
.github/workflows/docker-publish.yml
CHANGED
@@ -1,19 +1,8 @@
|
|
1 |
-
name: Docker
|
2 |
-
|
3 |
-
# This workflow uses actions that are not certified by GitHub.
|
4 |
-
# They are provided by a third-party and are governed by
|
5 |
-
# separate terms of service, privacy policy, and support
|
6 |
-
# documentation.
|
7 |
|
8 |
on:
|
9 |
-
|
10 |
-
|
11 |
-
push:
|
12 |
-
branches: [ "main" ]
|
13 |
-
# Publish semver tags as releases.
|
14 |
-
tags: [ 'v*.*.*' ]
|
15 |
-
pull_request:
|
16 |
-
branches: [ "main" ]
|
17 |
|
18 |
env:
|
19 |
# Use docker.io for Docker Hub if empty
|
|
|
1 |
+
name: Docker Build & Publish
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
on:
|
4 |
+
release:
|
5 |
+
types: [created]
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
env:
|
8 |
# Use docker.io for Docker Hub if empty
|