readd install-docker-action
This commit is contained in:
parent
cb0fe754b4
commit
ed2afc4160
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue