Skip to content

Commit 0830021

Browse files
committed
Improved ci
1 parent 6c2ea81 commit 0830021

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/dev-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- dev-2.x
6+
- custom-release
67
jobs:
78
test:
89
runs-on: ubuntu-latest
@@ -50,7 +51,7 @@ jobs:
5051
CONTAINER_REGISTRY_USER: ${{ secrets.DOCKER_USER }}
5152
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_AUTH }}
5253
run: |
53-
otp_version="v2"
54+
otp_version=${{ github.ref_name }}
5455
commit_hash=`git rev-parse --short "$GITHUB_SHA"`
5556
date_time=`date +"%Y-%m-%dT%H-%M-%S"`
5657
docker_tag_long="$otp_version-$date_time-$commit_hash"

.github/workflows/prod-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
DOCKER_USER: ${{ secrets.DOCKER_USER }}
3030
DOCKER_AUTH: ${{ secrets.DOCKER_AUTH }}
3131
DOCKER_BASE_TAG: v2-prod
32-
DOCKER_DEV_TAG: v2
32+
DOCKER_DEV_TAG: ${{ github.event.release.target_commitish }}

0 commit comments

Comments
 (0)