24 lines
629 B
YAML
24 lines
629 B
YAML
name: mozhi pipeline
|
|
on: push
|
|
jobs:
|
|
push_to_registry:
|
|
runs-on: ubuntu-latest
|
|
name: Push Docker image to Codeberg docker registry
|
|
steps:
|
|
- name: Check out the repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Log in to Docker Hub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: aryak
|
|
password: ${{ secrets.MOZHI_DOCKER_PASSWORD }}
|
|
registry: codeberg.org
|
|
|
|
- name: Build and push Docker image
|
|
uses: docker/build-push-action@master
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
push: true
|
|
tags: latest
|