Skip to content

Commit

Permalink
Update image_release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
slankdev authored Oct 25, 2022
1 parent d0b6de0 commit 73d22f2
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 73d22f2

Please sign in to comment.