Skip to content

Commit 0f28089

Browse files
feat: split release / prerelease dockerhub images (#476)
1 parent 430193b commit 0f28089

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/prerelease.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build pre-release
2+
3+
on:
4+
release:
5+
types:
6+
- prereleased
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Free Diskspace
15+
uses: ./.github/actions/free_disk_space
16+
- name: Login to Docker Hub
17+
uses: docker/login-action@v3
18+
with:
19+
username: ${{ secrets.DOCKERHUB_USERNAME }}
20+
password: ${{ secrets.DOCKERHUB_TOKEN }}
21+
- name: Build Cardano Rosetta Pre-Release
22+
uses: ./.github/actions/build_docker_images
23+
with:
24+
tag: ${{ github.event.release.tag_name }}-pre-release

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build release
33
on:
44
release:
55
types:
6-
- published
6+
- released
77

88
jobs:
99
build:

0 commit comments

Comments
 (0)