mirror of
https://codeberg.org/aryak/mozhi
synced 2024-12-22 13:39:45 +05:30
readd install-docker-action
This commit is contained in:
parent
cb0fe754b4
commit
ed2afc4160
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user