Files
snice/.gitea/workflows/go.yaml
Renovate Bot fb075a8820
Some checks failed
Go / build (pull_request) Failing after 0s
chore(deps): update actions/checkout action to v6
2025-11-22 18:14:43 +00:00

41 lines
820 B
YAML

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v6
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.21
# - name: Build
# run: go build -v ./...
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: git.nice.net.nz
username: hads
password: ${{ secrets.PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
tags: git.nice.net.nz/hads/snice:latest