Skip to content

Commit

Permalink
Merge pull request #54 from nanmu42/nanmu
Browse files Browse the repository at this point in the history
ci: fix tag name finding
  • Loading branch information
nanmu42 authored Dec 24, 2021
2 parents 87b3061 + a663500 commit 40a7272
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Find Tag
run: echo ::set-output name=tag::${GITHUB_REF:10}
- name: Build, tag, and push
env:
DOCKER_HUB_REPO: nanmu42/orly
ALICLOUD_REPO: registry.cn-hongkong.aliyuncs.com/nanmu42/orly
IMAGE_TAG: ${{ steps.vars.outputs.tag }}
IMAGE_TAG: ${{ github.ref_name }}
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
ALICLOUD_USER: ${{ secrets.ALICLOUD_USER }}
Expand Down

0 comments on commit 40a7272

Please sign in to comment.