diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index dca90ac..e26ee37 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -33,11 +33,15 @@ jobs: - name: Get docker greeting run: docker pull php:7.3-fpm - name: login tjjs + env: + TJJS_HOST: ${{ secrets.TJJS_HARBOR_HOST }} + Username: ${{secrets.TJJS_HARBOR_USERNAME}} + password: ${{secrets.TJJS_HARBOR_PWD}} uses: docker/login-action@v3.2.0 with: - registry: ${{secrets.TJJS_HARBOR_HOST}} - Username: ${{secrets.TJJS_HARBOR_USERNAME}} - password: ${{secrets.TJJS_HARBOR_PWD}} + registry: ${{TJJS_HOST}} + Username: ${{Username}} + password: ${{password}} logout: false - name: tag docker image run: docker tag php:7.3-fpm ${{ secrets.TJJS_HARBOR_HOST }}/libary/php:7.3-fpm