Compare commits

..

3 Commits

Author SHA1 Message Date
3ac36bceab Merge pull request 'Add automatically building of Docker Container' (#1) from chore/add_gitea_ci into master
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 43s
Reviewed-on: #1
2023-05-09 18:53:14 +00:00
97c6d977c7 install docker
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 1m2s
2023-05-09 20:50:48 +02:00
edee371de5 add gitea ci
Some checks failed
Publish Docker image / Push Docker image to registry (push) Failing after 6s
2023-05-09 20:46:38 +02:00

View File

@ -0,0 +1,30 @@
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: Install Docker
run: curl -fsSL https://get.docker.com | sh
- 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 }}