@@ -43,14 +43,14 @@ jobs:
43
43
uses : docker/login-action@v2
44
44
with :
45
45
# registry: registry.hub.docker.com
46
- username : wurstbrot
47
- password : ${{ secrets.HUB_TOKEN }}
46
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
47
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
48
48
- name : create and push dsomm image
49
49
uses : docker/build-push-action@v3
50
50
with :
51
51
push : true
52
52
platforms : linux/amd64,linux/arm64
53
- tags : wurstbrot /dsomm:${{ steps.get-version.outputs.version }},wurstbrot/dsomm:latest
53
+ tags : aguero-tech /dsomm:${{ steps.get-version.outputs.version }},wurstbrot/dsomm:latest
54
54
# Commit all changed files back to the repository
55
55
- uses : planetscale/ghcommit-action@v0.1.6
56
56
with :
59
59
branch : ${{ github.head_ref || github.ref_name }}
60
60
env :
61
61
GITHUB_TOKEN : ${{secrets.ACCESS_TOKEN}}
62
- heroku :
63
- if : github.repository == 'devsecopsmaturitymodel/DevSecOps-MaturityModel' && github.event_name == 'push' && github.ref == 'refs/heads/master'
64
- runs-on : ubuntu-latest
65
- steps :
66
- - name : " Check out Git repository"
67
- uses : actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
68
- - name : " Set Heroku app & branch for ${{ github.ref }}"
69
- run : |
70
- echo $GITHUB_REF
71
- if [ "$GITHUB_REF" == "refs/heads/master" ]; then
72
- echo "HEROKU_APP=" >> $GITHUB_ENV
73
- echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
74
- fi
75
- echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
76
- - name : " Deploy ${{ github.ref }} to Heroku"
77
- uses : akhileshns/heroku-deploy@9fd0f9faae4aa93a38d6f5e25b9128589f1371b0 # v3.12.14
78
- with :
79
- heroku_api_key : ${{ secrets.HEROKU_API_KEY }}
80
- heroku_app_name : " dsomm"
81
- heroku_email : timo.pagel@owasp.org
82
- branch : ${{ env.HEROKU_BRANCH }}
83
- usedocker : true
0 commit comments