dockerhub

This commit is contained in:
Jack Robison 2022-04-14 12:26:21 -04:00
parent 8510d666e0
commit 0f26001fb2
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -9,5 +9,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build the Docker image - name: Login to Docker Hub
run: docker build . --file docker/Dockerfile -t lbry/scribe:master uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
push: true
tags: lbry/scribe:master