1
0

[CICD] Switch to gitea-actions as CI/CD
Some checks failed
Build Docker and Deploy / Build Docker (push) Failing after 15s
Build Docker and Deploy / Deploy to Server (push) Has been skipped

This commit is contained in:
2023-08-26 19:36:10 +02:00
parent 74359ef6f7
commit b297450666
3 changed files with 48 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ HASH=$(shell git rev-parse HEAD)
run:
php -S localhost:8000 -t .
build-docker:
docker:
[ ! -f "DOCKER_GIT_INFO" ] || rm DOCKER_GIT_INFO
git rev-parse --abbrev-ref HEAD >> DOCKER_GIT_INFO
git rev-parse HEAD >> DOCKER_GIT_INFO
@@ -53,7 +53,7 @@ inspect-docker:
$(DOCKER_NAME):latest \
bash
push-docker: build-docker
push-docker:
docker image push $(DOCKER_REPO)/$(DOCKER_NAME):$(HASH)
docker image push $(DOCKER_REPO)/$(DOCKER_NAME):$(NAMESPACE)-latest
docker image push $(DOCKER_REPO)/$(DOCKER_NAME):latest