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