Skip to content

Commit

Permalink
push image using docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
Leemoonsoo committed Jun 4, 2020
1 parent ba9d30b commit c173cf0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,8 @@ jobs:
- name: Build docker image
run: |-
./bin/docker-image-tool.sh -r opendatastudio -t ${{ steps.get_version.outputs.VERSION }} build
- name: Print image
- name: Push image
run: |-
docker images
- name: Push
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: opendatastudio/spark
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "${{ steps.get_version.outputs.VERSION }}"
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push opendatastudio/spark:${{ steps.get_version.outputs.VERSION }}

0 comments on commit c173cf0

Please sign in to comment.