wip ci/cd
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m22s

This commit is contained in:
2026-03-07 14:08:33 +03:00
parent 44c675c02f
commit ebd153d2a7
2 changed files with 7 additions and 7 deletions

View File

@@ -17,12 +17,12 @@ jobs:
# go-version: '1.25' # go-version: '1.25'
- name: Docker build - name: Docker build
run: docker build --tag git.madsky.ru/vadim/tracker:latest . run: docker build --tag git.madsky.ru/vadim/tracker:latest .
- name: Login to gitea # - name: Login to gitea
uses: docker/login-action@v4 # uses: docker/login-action@v4
with: # with:
registry: git.madsky.ru # registry: git.madsky.ru
username: ${{ vars.GITEA_USERNAME }} # username: ${{ vars.GITEA_USERNAME }}
password: ${{ secrets.GITEA_PASSWORD }} # password: ${{ secrets.GITEA_PASSWORD }}
- name: Push Docker image - name: Push Docker image
run: | run: |
IMAGE_TAG="git.madsky.ru/vadim/tracker:latest:${{ gitea.sha }}" IMAGE_TAG="git.madsky.ru/vadim/tracker:latest:${{ gitea.sha }}"

View File

@@ -1,4 +1,4 @@
FROM golang:latest FROM golang:1.25
WORKDIR /app WORKDIR /app
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download