test4
Some checks failed
Publish Docker Image / publish (push) Failing after 1m51s

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

View File

@ -14,11 +14,16 @@ 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: |
mkdir -p /etc/default
mkdir -p /etc/docker
touch -a /etc/default/docker
touch -a /etc/docker/daemon.json
echo "DOCKER_OPTS=\"--insecure-registry ${{ vars.PACKAGES_REGISTRY_URL }}\"" >> /etc/default/docker
echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
systemctl restart docker
- name: Check out repository code
uses: actions/checkout@v4.2.2