Workflow Action for Docker Repo #2

Merged
kpohl merged 9 commits from refs/pull/2/head into main 2024-11-03 18:57:38 +01:00
Showing only changes of commit 432c04635f - Show all commits

View File

@ -23,23 +23,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ vars.DOCKER_REPO }}/costhive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry.${{ vars.DOCKER_REPO }}]
http = true
insecure = true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: https://github.com/docker/build-push-action@v6
with: