Skip to content

Commit

Permalink
docker hub edge version
Browse files Browse the repository at this point in the history
  • Loading branch information
NewFuture authored Aug 4, 2020
1 parent 65ebb99 commit e1ad9a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
- name: Prepare arguments
id: prepare
run: |
DOCKER_TAGS="--tag ${DOCKER_REPO}:latest"
DOCKER_TAGS="--tag ${DOCKER_REPO}:edge"
if [[ $GITHUB_REF == refs/tags/v* ]]; then
DOCKER_TAGS="${DOCKER_TAGS} --tag ${DOCKER_REPO}:${GITHUB_REF#refs/tags/}"
DOCKER_TAGS="--tag ${DOCKER_REPO}:latest --tag ${DOCKER_REPO}:${GITHUB_REF#refs/tags/}"
fi
echo ::set-output name=buildx_args:: --output "type=image,push=true" --platform ${DOCKER_PLATFORMS} ${DOCKER_TAGS} .
- name: Docker login
Expand Down

0 comments on commit e1ad9a2

Please sign in to comment.