mirror of
https://codeberg.org/aryak/mozhi
synced 2024-11-27 00:21:58 +05:30
fix CI 2
Some checks failed
mozhi pipeline / Push Docker image to Codeberg docker registry (push) Failing after 45s
Some checks failed
mozhi pipeline / Push Docker image to Codeberg docker registry (push) Failing after 45s
This commit is contained in:
parent
886d0fe36a
commit
9f5f33f852
@ -1,25 +1,24 @@
|
|||||||
name: mozhi-pipeline
|
name: mozhi pipeline
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
push_to_registry:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: Push Docker image to Codeberg docker registry
|
||||||
steps:
|
steps:
|
||||||
- name: Set up QEMU
|
- name: Check out the repo
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Log in to Docker Hub
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/login-action@v2
|
||||||
|
|
||||||
- name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
with:
|
||||||
username: aryak
|
username: aryak
|
||||||
password: ${{ secrets.MOZHI_DOCKER_PASSWORD }}
|
password: ${{ secrets.MOZHI_DOCKER_PASSWORD }}
|
||||||
registry: codeberg.org
|
registry: codeberg.org
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push Docker image
|
||||||
id: docker_build
|
uses: docker/build-push-action@master
|
||||||
uses: docker/build-push-action@v2
|
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: latest
|
tags: latest
|
||||||
|
Loading…
Reference in New Issue
Block a user