Skip to content

Commit

Permalink
Merge pull request itpp-labs#25 from itpp-labs/DINAR2fork
Browse files Browse the repository at this point in the history
DINAR2fork
  • Loading branch information
Ivan Yelizariev authored Mar 23, 2020
2 parents 48b1db2 + 1318c54 commit a9c4549
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions embedded-files/.DINAR/image/build.d/099-create-netrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
mv /opt/odoo/custom/.netrc ~/
chmod 600 ~/.netrc
2 changes: 2 additions & 0 deletions embedded-files/.DINAR/image/build.d/101-rm-netrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
rm ~/.netrc
5 changes: 5 additions & 0 deletions static-files/all/.github/workflows/DINAR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
run: |
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN }}
cat <<- EOF > REPO/.DINAR/image/.netrc
machine github.com
login $GITHUB_ACTOR
password ${{ secrets.DINAR_TOKEN }}
EOF
- name: dinar-odoo-base
uses: elgohr/Publish-Docker-Github-Action@master
env:
Expand Down

0 comments on commit a9c4549

Please sign in to comment.