Skip to content

Commit 50359ef

Browse files
committed
Building release must be executed after building image
1 parent 3d79441 commit 50359ef

File tree

4 files changed

+23
-25
lines changed

4 files changed

+23
-25
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and Release
2+
3+
on: push
4+
5+
permissions:
6+
contents: write
7+
8+
jobs:
9+
build-docker-image:
10+
uses: programie/Workflows/.github/workflows/build-docker-image.yml@main
11+
with:
12+
image: programie/phpdyndns
13+
secrets: inherit
14+
15+
build-release-package:
16+
needs: build-docker-image
17+
if: startsWith(github.ref, 'refs/tags/')
18+
uses: programie/Workflows/.github/workflows/package-zip-release-from-docker.yml@main
19+
with:
20+
image: programie/phpdyndns
21+
path: /app
22+
zip_name: PHPDynDNS

.github/workflows/build-docker-image.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/build-release.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/rebuild-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rebuild latest release
1+
name: Rebuild Docker image from latest release
22

33
on:
44
schedule:

0 commit comments

Comments
 (0)