Skip to content

Commit

Permalink
[SOURCEFROG] Added private registry deployment job
Browse files Browse the repository at this point in the history
  • Loading branch information
strobsi committed Jun 12, 2021
1 parent ed80c6a commit afc8e61
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/helloCICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,23 @@ jobs:
name: sourcefrog/cicd
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

deploy-private:
name: Treescale Deployment
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Download build artifacts
uses: actions/download-artifact@v1
with:
name: build

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
registry: repo.treescale.com
name: strobsi/cicd
username: ${{ secrets.TREESCALE_USERNAME }}
password: ${{ secrets.TREESCALE_AUTH_TOKEN }}

0 comments on commit afc8e61

Please sign in to comment.