add gitea ci
Some checks failed
Publish Docker image / Push Docker image to registry (push) Failing after 6s
Some checks failed
Publish Docker image / Push Docker image to registry (push) Failing after 6s
This commit is contained in:
parent
0c0defc340
commit
edee371de5
27
.gitea/workflows/publish.yaml
Normal file
27
.gitea/workflows/publish.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
name: Publish Docker image
|
||||
|
||||
on:
|
||||
[push]
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker image to registry
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Log in to Container Registry
|
||||
uses: https://github.com/docker/login-action@v2
|
||||
with:
|
||||
registry: ${{ secrets.REGISTRY_SERVER }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: https://github.com/docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ secrets.REGISTRY_SERVER }}/niku/streamrip-docker
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
Loading…
x
Reference in New Issue
Block a user