Files
cn-dockerfile/.gitea/workflows/ubuntu.yaml

37 lines
974 B
YAML

name: Build Ubuntu
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: ubuntu:26.04
dockerfile: ubuntu/Dockerfile
tags: gitea.starryskymeow.cn/cn/ubuntu:26.04
name: Build ${{ matrix.name }}
steps:
- name: Checkout
uses: https://gitea.starryskymeow.cn/mirrors/checkout@v6
- name: Log in to Docker Hub
uses: https://gitea.starryskymeow.cn/mirrors/docker-login-action@v4
with:
registry: gitea.starryskymeow.cn
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: https://gitea.starryskymeow.cn/mirrors/docker-build-push-action@v7
with:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
file: ${{ matrix.dockerfile }}
tags: ${{ matrix.tags }}