try fix
This commit is contained in:
parent
7431ea83a8
commit
33233e0482
1 changed files with 4 additions and 7 deletions
|
@ -5,23 +5,20 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
name: Push Docker image to Codeberg docker registry
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Log in to registry
|
||||
uses: docker/login-action@v1
|
||||
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@v2
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: latest
|
||||
tags: codeberg.org/aryak/mozhi:latest
|
||||
|
|
Loading…
Reference in a new issue