This commit is contained in:
Arya Kiran 2023-08-30 19:25:32 +05:30
parent 7431ea83a8
commit 33233e0482
No known key found for this signature in database
GPG key ID: 842D12BDA50DF120

View file

@ -5,23 +5,20 @@ jobs:
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
uses: actions/checkout@v3
- name: Log in to registry
uses: docker/login-action@v1
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@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: latest
tags: codeberg.org/aryak/mozhi:latest