Skip to content

Commit 17d3686

Browse files
committed
workflow
1 parent bfd72ae commit 17d3686

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/docker-publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
registry: ${{ env.REGISTRY }}
2424
username: ${{ github.repository_owner }}
2525
password: ${{ secrets.GITHUB_TOKEN }}
26+
- name: Get BUILD_VERSION
27+
run: echo "$(grep "ARG BUILD_VERSION=" Dockerfile | cut -d' ' -f2)" >> $GITHUB_ENV
2628
- name: Build and publish
2729
uses: docker/build-push-action@master
2830
with:

0 commit comments

Comments
 (0)