mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 11:01:17 +02:00
Update docker-image.yml
This commit is contained in:
parent
c4313e59f1
commit
2c20d19621
18
.github/workflows/docker-image.yml
vendored
18
.github/workflows/docker-image.yml
vendored
@ -11,8 +11,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
-
|
||||||
- name: Build the Docker image
|
name: Login to Docker Hub
|
||||||
run: |
|
uses: docker/login-action@v2
|
||||||
docker build . --file Dockerfile --tag ricterz/nhentai:latest
|
with:
|
||||||
docker push ricterz/nhentai:latest
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
-
|
||||||
|
name: Build the Docker image
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ricterz/nhentai:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user