Skip to content

Commit

Permalink
chore: update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Jan 2, 2021
1 parent 2c7ddcf commit c7db989
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Set version
run: echo ${{ steps.vars.outputs.tag }} > asset/version
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand All @@ -24,6 +22,10 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set version
run: |
ls -l
echo ${{ steps.vars.outputs.tag }} > asset/version
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
Expand Down

0 comments on commit c7db989

Please sign in to comment.