Compare commits
No commits in common. "main" and "1" have entirely different histories.
@ -7,8 +7,5 @@ steps:
|
||||
repo: registry.kucharczyk.xyz/gitea
|
||||
tags: latest
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- cron
|
||||
exclude:
|
||||
- pull_request
|
||||
ref:
|
||||
- refs/tags/*
|
@ -1,38 +0,0 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to Gitea container registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.kucharczyk.xyz
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.LOGIN_TOKEN}}
|
||||
|
||||
- name: Build and Push Docker Image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: git.kucharczyk.xyz/containers/gitea:latest
|
||||
|
||||
env:
|
||||
DOCKER_USERNAME: ${{ gitea.repository_owner }}
|
||||
DOCKER_PASSWORD: ${{ secrets.LOGIN_TOKEN}}
|
Reference in New Issue
Block a user