try convert from Drone to Actions
Some checks failed
Build Container Image / docker (push) Failing after 3m4s
Some checks failed
Build Container Image / docker (push) Failing after 3m4s
This commit is contained in:
parent
ec59cb2a46
commit
d75e628d3c
2 changed files with 30 additions and 34 deletions
30
.forgejo/workflows/ci.yaml
Normal file
30
.forgejo/workflows/ci.yaml
Normal file
|
@ -0,0 +1,30 @@
|
|||
name: Build Container Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: docker
|
||||
steps:
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: ${{ secrets.REGISTRY_URL }}/public/pe1chl-elproxy:latest
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue