try fix
Some checks failed
mozhi pipeline / Push Docker image to Codeberg docker registry (push) Failing after 19s

This commit is contained in:
Arya 2023-08-30 19:25:32 +05:30
parent 7431ea83a8
commit 33233e0482
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -5,23 +5,20 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Push Docker image to Codeberg docker registry name: Push Docker image to Codeberg docker registry
steps: steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Log in to registry - name: Log in to registry
uses: docker/login-action@v1 uses: docker/login-action@v2
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 Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v4
with: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: latest tags: codeberg.org/aryak/mozhi:latest