test dockerhub ci

This commit is contained in:
Jack Robison 2022-04-14 13:10:32 -04:00
parent 648e782df6
commit 21d983032e
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -5,13 +5,12 @@ on:
branches: [ master ] branches: [ master ]
jobs: jobs:
build: login:
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: docker build . --file docker/Dockerfile -t lbry/scribe:master uses: docker/login-action@v1
- name: Login to dockerhub with:
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin username: ${{ secrets.DOCKERHUB_USERNAME }}
- name: Push image password: ${{ secrets.DOCKERHUB_TOKEN }}
run: docker push lbry/scribe:master