test3
This commit is contained in:
parent
a03da50e49
commit
8937dc60cf
@ -7,9 +7,6 @@ on:
|
||||
schedule:
|
||||
- cron: '@weekly'
|
||||
|
||||
env:
|
||||
DOCKER_OPTS: '--insecure-registry 15.206.81.210:9000'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
@ -17,11 +14,11 @@ jobs:
|
||||
packages: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: Update Docker configuration
|
||||
continue-on-error: true
|
||||
run: |
|
||||
echo "DOCKER_OPTS=\"--insecure-registry ${{ vars.PACKAGES_REGISTRY_URL }}\"" >> /etc/default/docker
|
||||
echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
|
||||
# - name: Update Docker configuration
|
||||
# continue-on-error: true
|
||||
# run: |
|
||||
# echo "DOCKER_OPTS=\"--insecure-registry ${{ vars.PACKAGES_REGISTRY_URL }}\"" >> /etc/default/docker
|
||||
# echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
Loading…
Reference in New Issue
Block a user