dockerhub
This commit is contained in:
parent
c7d5656b19
commit
84bf40220c
1 changed files with 20 additions and 15 deletions
35
.github/workflows/docker-image.yml
vendored
35
.github/workflows/docker-image.yml
vendored
|
@ -8,18 +8,23 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
-
|
||||||
- name: Login to Docker Hub
|
name: Checkout
|
||||||
uses: docker/login-action@v1
|
uses: actions/checkout@v2
|
||||||
with:
|
-
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
name: Login to Docker Hub
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
uses: docker/login-action@v1
|
||||||
- name: Set up Docker Buildx
|
with:
|
||||||
uses: docker/setup-buildx-action@v1
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
- name: Build and push
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
uses: docker/build-push-action@v2
|
-
|
||||||
with:
|
name: Set up Docker Buildx
|
||||||
context: .
|
uses: docker/setup-buildx-action@v1
|
||||||
file: ./docker/Dockerfile
|
-
|
||||||
push: true
|
name: Build and push
|
||||||
tags: lbry/scribe:master
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./docker/Dockerfile
|
||||||
|
push: true
|
||||||
|
tags: lbry/scribe:master
|
||||||
|
|
Loading…
Reference in a new issue