Arya Kiran 7431ea83a8
Some checks failed
mozhi pipeline / Push Docker image to Codeberg docker registry (push) Failing after 1m12s
more test changes
2023-08-30 18:52:16 +05:30

28 lines
697 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: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to registry
uses: docker/login-action@v1
with:
username: aryak
password: ${{ secrets.MOZHI_DOCKER_PASSWORD }}
registry: codeberg.org
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: latest