Skip to content

Commit

Permalink
Merge pull request #16 from wide-vsix/slankdev-patch-1
Browse files Browse the repository at this point in the history
Update image_release.yaml
  • Loading branch information
slankdev authored Oct 25, 2022
2 parents d0b6de0 + 73d22f2 commit 9174bf2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/image_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:

- name: push with branch name
id: run_docker_push_with_branch_name
run: >
docker build -t ghcr.io/wide-vsix/linux-flow-exporter:${{ github.ref }} .
&& docker push ghcr.io/wide-vsix/linux-flow-exporter:${{ github.ref }}
run: |
VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/##g")
docker build -t ghcr.io/wide-vsix/linux-flow-exporter:$VERSION .
docker push ghcr.io/wide-vsix/linux-flow-exporter:$VERSION
env:
BUILDKIT: 1

0 comments on commit 9174bf2

Please sign in to comment.