We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c0c7b1 commit bfe665cCopy full SHA for bfe665c
.github/workflows/merged.yml
@@ -8,7 +8,7 @@ on:
8
- perl_40
9
10
env:
11
- BRANCH_NAME: ${{ github.ref_name == "master" && 'latest' : github.ref_name }}
+ BRANCH_NAME: ${{ github.ref_name == "master" && 'latest' || github.ref_name }}
12
13
jobs:
14
perl:
@@ -43,6 +43,11 @@ jobs:
43
with:
44
username: ${{ secrets.DOCKERHUB_USERNAME }}
45
password: ${{ secrets.DOCKERHUB_TOKEN }}
46
+ -
47
+ name: Pull the associated perl image
48
+ run: |
49
+ docker pull deriv/perl:${{env.BRANCH_NAME}}
50
+ docker tag deriv/perl:${{env.BRANCH_NAME}} deriv/perl:latest
51
-
52
name: Build And Publish Docker Image
53
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09
0 commit comments