This commit is contained in:
Luke Tainton 2025-01-02 16:10:10 +00:00
parent a03da50e49
commit 8937dc60cf
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -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