Skip to content

Commit

Permalink
chore: Test GitHub Action.
Browse files Browse the repository at this point in the history
  • Loading branch information
liqiang-fit2cloud committed Jun 18, 2021
1 parent f33b84c commit 84bccf1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish-to-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ jobs:
--build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \
--build-arg VCS_REF=${GITHUB_SHA::8} \
${DOCKER_IMAGE_TAGS} .
sed -i '2i\VERSION = ${TAG_NAME}' gotty/Makefile
cat gotty/Makefile
sed -i "2i\VERSION = ${TAG_NAME}" gotty/Makefile
- name: Set up Docker Buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Docker Buildx (build)
run: |
cat gotty/Makefile
docker buildx build --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Login to DockerHub
uses: docker/login-action@v1
Expand Down

0 comments on commit 84bccf1

Please sign in to comment.