您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

25 行
622 B

  1. name: containers-publish
  2. on:
  3. workflow_run:
  4. workflows:
  5. - "containers-test"
  6. branches:
  7. - main
  8. types:
  9. - completed
  10. jobs:
  11. publish:
  12. if: ${{ github.event.workflow_run.conclusion == 'success' }}
  13. runs-on: ubuntu-18.04
  14. steps:
  15. - uses: actions/checkout@v2
  16. - name: deploy containers
  17. run: |
  18. cd containers
  19. ./deploy
  20. env:
  21. QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
  22. QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
  23. DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
  24. DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}