From afc8e615740debf1ebbca88e5bd7241e9e547e95 Mon Sep 17 00:00:00 2001 From: Simon Strobel Date: Sat, 12 Jun 2021 10:58:42 +0200 Subject: [PATCH] [SOURCEFROG] Added private registry deployment job --- .github/workflows/helloCICD.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/helloCICD.yml b/.github/workflows/helloCICD.yml index cd2fb93..325f14f 100644 --- a/.github/workflows/helloCICD.yml +++ b/.github/workflows/helloCICD.yml @@ -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 }}