Compare commits

...

13 Commits
1 ... main

Author SHA1 Message Date
f5db84b682 CI: replace repository_owner with actor
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 31s
2023-09-11 16:06:06 +00:00
9c6342b539 CI: try replacing username with repository_owner
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 20s
2023-09-11 16:03:37 +00:00
cc91978e4e CI: change the way password is handed over
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 33s
2023-09-11 15:47:44 +00:00
939afef1dd CI: change registry user, rename step
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 29s
2023-09-11 15:45:00 +00:00
21fedd0213 CI: fix tag
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 35s
2023-09-11 15:39:44 +00:00
5d936d280d CI: add registry to login action
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 38s
2023-09-11 15:37:06 +00:00
0933761ade CI: use catthehacker/ubuntu:act-latest
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m10s
2023-09-11 15:31:31 +00:00
1fa447348f CI: try fixing login and push
Some checks reported warnings
Build and Push Docker Image / build-and-push (push) Has been cancelled
2023-09-11 15:24:33 +00:00
b86c108082 CI: try building and pushing container image
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 17s
2023-09-11 15:19:18 +00:00
6199c82342 add test gitea action
All checks were successful
Rebuild Gitea container / Build container image (push) Successful in 52s
2023-09-10 15:21:13 +02:00
67d07f2685 Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-07 11:37:41 +00:00
9fa9158fc5 Enable CI on push but disallow PRs
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 22:21:41 +00:00
0652ce10ab Update '.drone.yml' 2021-05-04 21:22:47 +00:00
2 changed files with 43 additions and 2 deletions

View File

@ -7,5 +7,8 @@ steps:
repo: registry.kucharczyk.xyz/gitea
tags: latest
trigger:
ref:
- refs/tags/*
event:
- push
- cron
exclude:
- pull_request

View File

@ -0,0 +1,38 @@
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}}