We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27c1f41 commit 49d46f0Copy full SHA for 49d46f0
.github/workflows/docker-dev.yml
@@ -13,6 +13,9 @@ jobs:
13
- name: Checkout code
14
uses: actions/checkout@v3
15
16
+ - name: Extract branch name
17
+ run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr '/' '-')" >> $GITHUB_ENV
18
+
19
- name: Login to DockerHub
20
uses: docker/login-action@v3
21
with:
@@ -24,4 +27,6 @@ jobs:
24
27
25
28
context: .
26
29
push: true
- tags: themranderson/conversionapi:latest
30
+ tags: |
31
+ themranderson/conversionapi:latest
32
+ themranderson/conversionapi:${{ env.BRANCH_NAME }}
0 commit comments