dockerhub

This commit is contained in:
Jack Robison 2022-04-14 12:45:36 -04:00
parent c7d5656b19
commit 84bf40220c
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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