Skip to content

Commit

Permalink
DockerHub image push added
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Kornilov committed Jul 5, 2021
1 parent 827b193 commit 82f51b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,13 @@ jobs:
build_params: --build-arg CI_PIPELINE_ID=${{ github.run_id }} --build-arg CI_COMMIT_REF_NAME=${{ github.ref }} --build-arg CI_COMMIT_SHA=${{ github.sha }}
registry: registry.wings.toys
cache: true

- name: '[DockerHub] Build and push docker image'
uses: dfinance/gh-actions@master
with:
name: dfinance/dstation
username: ${{ secrets.DH_REGISTRY_USR }}
password: ${{ secrets.DH_REGISTRY_PWD }}
dockerfile: Dockerfile
build_params: --build-arg CI_PIPELINE_ID=${{ github.run_id }} --build-arg CI_COMMIT_REF_NAME=${{ github.ref }} --build-arg CI_COMMIT_SHA=${{ github.sha }}
cache: true

0 comments on commit 82f51b9

Please sign in to comment.