.github/workflows/main.yml aktualisiert
This commit is contained in:
parent
313a8917fe
commit
432c04635f
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -23,23 +23,19 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://gitea.com/actions/checkout@master
|
- uses: https://gitea.com/actions/checkout@master
|
||||||
- name: Insecure Docker Repository
|
|
||||||
run: |
|
|
||||||
sudo truncate -s-2 /etc/docker/daemon.json
|
|
||||||
echo ", \"insecure-registries\": [\"${{ vars.DOCKER_REPO }}\"]}" | sudo tee -a /etc/docker/daemon.json
|
|
||||||
sudo systemctl restart docker
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
${{ vars.DOCKER_REPO }}/costhive
|
${{ vars.DOCKER_REPO }}/costhive
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
with:
|
||||||
config-inline: |
|
config-inline: |
|
||||||
[registry.${{ vars.DOCKER_REPO }}]
|
[registry.${{ vars.DOCKER_REPO }}]
|
||||||
http = true
|
http = true
|
||||||
insecure = true
|
insecure = true
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: https://github.com/docker/build-push-action@v6
|
uses: https://github.com/docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user