File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1414 steps :
1515 - name : Checkout
1616 uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
1719 - name : Install serverless
1820 run : npm install -g serverless
1921 - name : Note docker image digest
@@ -126,8 +128,8 @@ jobs:
126128 echo "DRIVER_VERSION=${{ steps.chromedriver-version.outputs.DRIVER_VERSION }}" >> /tmp/body-text.txt
127129 echo "PYTHON_VERSION=${{ steps.python-version.outputs.PYTHON_VERSION }}" >> /tmp/body-text.txt
128130 echo "SELENIUM_VERSION=${{ steps.selenium-version.outputs.SELENIUM_VERSION }}" >> /tmp/body-text.txt
129- echo "CHROME_VERSION=${{ steps.chrome-version.outputs.CHROME_VERSION }}" >> /tmp/body-text.txt
130- echo "\n```diff\n$( git diff --staged)\n```" >> /tmp/body-text.txt
131+ echo -e "CHROME_VERSION=${{ steps.chrome-version.outputs.CHROME_VERSION }}\n\n " >> /tmp/body-text.txt
132+ git diff --staged >> /tmp/body-text.txt
131133 git commit -m "${TITLE}"
132134 git push --set-upstream origin $BRANCH
133135 gh pr create --body-file /tmp/body-text.txt --title "PR:${TITLE}"
@@ -137,6 +139,9 @@ jobs:
137139 GH_TOKEN : ${{ github.token }}
138140 - name : Publish image
139141 if : ${{ steps.detect-changes.outputs.DO_RELEASE == 'yes' && !env.ACT }}
142+ env :
143+ DOCKER_PASSWORD : ${{ secrets.DOCKER_PASSWORD }}
144+ DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
140145 run : |
141146 echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
142147 PYTHON_VERSION=${{ steps.python-version.outputs.PYTHON_VERSION }}
You can’t perform that action at this time.
0 commit comments