workflow
This commit is contained in:
parent
c752e09f1a
commit
b4344bdb39
1 changed files with 25 additions and 0 deletions
25
.gitea/workflows/build.yml
Normal file
25
.gitea/workflows/build.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
|
||||
- name: Log in to Docker registry
|
||||
run: echo "${{ secrets.registry_password }}" | docker login -u "jmarya" --password-stdin git.hydrar.de
|
||||
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
docker build -t git.hydrar.de/RED/cdb:latest .
|
||||
docker push git.hydrar.de/RED/cdb:latests
|
Loading…
Reference in a new issue