This commit is contained in:
parent
a1aa3cf215
commit
79c3cc5b54
@ -17,14 +17,19 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
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
|
||||||
|
systemctl restart docker
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- run: cat /etc/docker/daemon.json
|
|
||||||
|
|
||||||
# - name: Log in to Gitea Package Registry
|
# - name: Log in to Gitea Package Registry
|
||||||
# uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
# with:
|
# with:
|
||||||
|
Loading…
Reference in New Issue
Block a user