Compare commits

...

2 Commits

Author SHA1 Message Date
Maxim Lebedev 19b78e0a85
🐛 Fixed repo prefix URL's 2024-05-01 04:30:53 +05:00
Maxim Lebedev f933d066ad
🔧 Do not fill exists workflow variables by template values 2024-05-01 04:30:36 +05:00
4 changed files with 8 additions and 7 deletions

View File

@ -25,9 +25,9 @@ jobs:
- name: Login to registry
uses: https://gitea.com/docker/login-action@v2
with:
password: ${{ secrets.DOCKER_TOKEN }}
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ gitea.repository_owner }}
password: $${{ secrets.DOCKER_TOKEN }}
registry: $${{ env.DOCKER_REGISTRY }}
username: $${{ gitea.repository_owner }}
- name: Build and push
uses: https://gitea.com/docker/build-push-action@v4
env:
@ -36,4 +36,4 @@ jobs:
context: .
file: ./build/Dockerfile
push: true
tags: ${{ env.DOCKER_REGISTRY }}/${{ gitea.repository }}:${{ gitea.ref_name }}
tags: $${{ env.DOCKER_REGISTRY }}/$${{ gitea.repository }}:$${{ gitea.ref_name }}

View File

@ -23,7 +23,7 @@ check: ## Perform self-tests
$(GO) test -v -cover -failfast -short -shuffle=on $(GOFLAGS) $(srcdir)/...
container: build/Dockerfile ## Builds Docker container image
$(DOCKER) build $(DOCKERFLAGS) -f $(srcdir)/build/Dockerfile -t $REPO_LINK .
$(DOCKER) build $(DOCKERFLAGS) -f $(srcdir)/build/Dockerfile -t source.toby3d.me${REPO_LINK} .
.PHONY: help
help: ## Display this help screen

2
go.mod
View File

@ -1,4 +1,4 @@
module $REPO_LINK
module source.toby3d.me$REPO_LINK
go 1.22.2

View File

@ -5,7 +5,6 @@
package main
import (
"$REPO_LINK/internal/domain"
"flag"
"log"
"os"
@ -14,6 +13,8 @@ import (
"runtime/pprof"
"syscall"
"source.toby3d.me$REPO_LINK/internal/domain"
"github.com/caarlos0/env/v10"
)