Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Finb authored Jul 11, 2022
1 parent 16d8fcb commit a7dfc96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build And Push
on:
push:
branches:
- master
tags:
- '*'

jobs:
docker:
Expand All @@ -25,7 +25,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Environment Variable
id: vars
run: echo "::set-output name=build_version::$(cat ./version)"
run: echo "::set-output name=build_version::$(git describe --tags)"
-
name: Build and push
id: docker_build
Expand Down

0 comments on commit a7dfc96

Please sign in to comment.