Skip to content

Commit d31b23c

Browse files
committed
move non secret config to vars
1 parent 32f4d22 commit d31b23c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/tests_build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
types: [released]
88
env:
99
TAG: "${{ github.ref_type == 'tag' && github.ref_name || 'tmp' }}"
10-
IMAGE_NAME: "${{ secrets.DOCKER_ORG }}/nansat"
11-
BASE_IMAGE_NAME: "${{ secrets.DOCKER_ORG }}/nansat_base"
10+
IMAGE_NAME: "${{ vars.DOCKER_ORG }}/nansat"
11+
BASE_IMAGE_NAME: "${{ vars.DOCKER_ORG }}/nansat_base"
1212
BASE_IMAGE_TAG: '0.0.19'
1313
jobs:
1414
tests_and_docker_build:
@@ -43,7 +43,7 @@ jobs:
4343
- name: Login to DockerHub
4444
uses: docker/login-action@v3
4545
with:
46-
username: ${{ secrets.DOCKER_USER }}
46+
username: ${{ vars.DOCKER_USER }}
4747
password: ${{ secrets.DOCKER_PASS }}
4848

4949
- name: 'Run tests'
@@ -119,8 +119,6 @@ jobs:
119119
- name: Publish
120120
uses: pypa/gh-action-pypi-publish@release/v1
121121
with:
122-
# Storing the PyPI URL in the repositories' secrets makes
123-
# publishing to the test PyPI from forks easy
124-
repository_url: ${{ secrets.PYPI_REPOSITORY_URL }}
122+
repository_url: ${{ vars.PYPI_REPOSITORY_URL }}
125123
password: ${{ secrets.PYPI_TOKEN }}
126124
...

0 commit comments

Comments
 (0)