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: schedule:
- cron: '@weekly' - cron: '@weekly'
env:
DOCKER_OPTS: '--insecure-registry 15.206.81.210:9000'
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -17,11 +14,11 @@ jobs:
packages: write packages: write
contents: read contents: read
steps: steps:
- name: Update Docker configuration # - name: Update Docker configuration
continue-on-error: true # continue-on-error: true
run: | # run: |
echo "DOCKER_OPTS=\"--insecure-registry ${{ vars.PACKAGES_REGISTRY_URL }}\"" >> /etc/default/docker # echo "DOCKER_OPTS=\"--insecure-registry ${{ vars.PACKAGES_REGISTRY_URL }}\"" >> /etc/default/docker
echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json # echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2