You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/.github/workflows/docker_release.yaml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,14 @@ jobs:
16
16
- name: Login to Docker Hub
17
17
uses: docker/login-action@v3
18
18
with:
19
-
username: ${{ secrets.DOCKERHUB_USERNAME }}
20
-
password: ${{ secrets.DOCKERHUB_TOKEN }}
19
+
username: {% raw %}${{ secrets.DOCKERHUB_USERNAME }}{% endraw %}
20
+
password: {% raw %}${{ secrets.DOCKERHUB_TOKEN }}{% endraw %}
21
21
- name: Login to GitHub Container Registry
22
22
uses: docker/login-action@v3
23
23
with:
24
24
registry: ghcr.io
25
-
username: ${{ github.actor }}
26
-
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
25
+
username: {% raw %}${{ github.actor }}{% endraw %}
26
+
password: {% raw %}${{ secrets.PERSONAL_ACCESS_TOKEN }}{% endraw %}
27
27
- name: Set up QEMU
28
28
uses: docker/setup-qemu-action@v3
29
29
- name: Set up Docker Buildx
@@ -33,10 +33,10 @@ jobs:
33
33
uses: docker/metadata-action@v5
34
34
with:
35
35
images: |
36
-
${{ env.DOCKERHUB_IMAGE_NAME }}
37
-
${{ env.GITHUB_IMAGE_NAME }}
36
+
{% raw %}${{ env.DOCKERHUB_IMAGE_NAME }}{% endraw %}
Copy file name to clipboardExpand all lines: repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/.github/workflows/release_build.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ jobs:
24
24
task test:all # 运行所有测试
25
25
- name: Publish to PyPI
26
26
env:
27
-
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
27
+
UV_PUBLISH_TOKEN: {% raw %}${{ secrets.PYPI_TOKEN }}{% endraw %}
0 commit comments