uusi2
Some checks failed
Build and Push Docker Image / build (push) Failing after 12s

This commit is contained in:
2026-03-30 08:37:23 +03:00
parent 223db920e2
commit f1f0d57595

View File

@@ -1,28 +1,30 @@
name: Build and Push Image
on: [push]
name: Build and Push Docker Image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Gitea Registry
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: gitea.paddington.fi # Replace with your Gitea instance URL
registry: gitea.paddington.fi
username: make
password: ${{ secrets.TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
gitea.paddington.fi/make/birdspotter
tags: make/birdspotter:latest
platforms: linux/amd64,linux/arm64