We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de0bf96 + 47c0813 commit 7c10f90Copy full SHA for 7c10f90
.github/workflows/mirror.yaml
@@ -27,6 +27,8 @@ on:
27
jobs:
28
build:
29
runs-on: ubuntu-latest
30
+ env:
31
+ QYWX_ROBOT_URL: ${{ secrets.QYWX_ROBOT_URL }}
32
steps:
33
- name: Login to Docker Registry
34
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} ${{ github.event.inputs.TARGET_REGISTRY }}
@@ -38,7 +40,7 @@ jobs:
38
40
docker push ${{ github.event.inputs.TARGET_REGISTRY }}/${{ github.event.inputs.TARGET_REPOSITORY }}/${{ github.event.inputs.NEW_NAME }}:${{ github.event.inputs.IMAGE_VERSION }}
39
41
42
- name: qyweixin send message
- if: ${{ secrets.QYWX_ROBOT_URL != '' }}
43
+ if: ${{ env.QYWX_ROBOT_URL != '' }}
44
uses: chf007/action-wechat-work@master
45
env:
46
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.QYWX_ROBOT_URL}}
0 commit comments