readd install-docker-action
Some checks failed
mozhi pipeline / Push Docker image to Codeberg docker registry (push) Failing after 13s
mozhi pipeline / Build and publish artifacts (push) Has been cancelled

This commit is contained in:
Arya 2023-09-21 22:04:45 +05:30
parent cb0fe754b4
commit ed2afc4160
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

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