xxxx1
Some checks failed
ci / docker (push) Failing after 20s

This commit is contained in:
2025-11-06 18:15:58 +01:00
parent ee4af9589d
commit 4b4d54681f

View File

@@ -8,24 +8,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to GitEA Docker Container Registry
uses: docker/login-action@v3
with:
registry: gitea.goroid.io
username: danthe
password: Secret666
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "danthe/default"
install: true
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
tags: "danthe/test"
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}
- name: Login to docker
run: docker login -u danthe -p Secret666 gitea.goroid.io
- name: Build docker container
run: docker build -t gitea.goroid.io/danthe/test:latest .
- name: Push docker container
run: docker push gitea.goroid.io/danthe/test:latest
- name: Cleanup old images
run: docker image prune -f