readd install-docker-action

This commit is contained in:
Arya Kiran 2023-09-21 22:04:45 +05:30
parent cb0fe754b4
commit ed2afc4160
No known key found for this signature in database
GPG key ID: 842D12BDA50DF120

View file

@ -7,16 +7,23 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Install docker
uses: papodaca/install-docker-action@main
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login 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@v4
with:
@ -25,6 +32,7 @@ jobs:
push: true
tags: codeberg.org/aryak/mozhi:latest
platforms: linux/amd64, linux/arm64
build_artifact:
runs-on: ubuntu-latest
name: Build and publish artifacts