From 729428b78305833d5afa222b61d5fcb6bd1a75bf Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 14 Apr 2022 12:53:20 -0400 Subject: [PATCH] dockerhub --- .github/workflows/docker-image.yml | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 53aebbf..e301ffa 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -8,23 +8,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - - name: Checkout - uses: actions/checkout@v2 - - - name: Login to Docker Hub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - 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 + - uses: actions/checkout@v3 + - name: Build the Docker image + run: docker build . --file docker/Dockerfile -t lbry/scribe:master + - name: Docker login + uses: docker login -u="${{ secrets.DOCKERHUB_USERNAME }}" -p="${{ secrets.DOCKERHUB_TOKEN }}" + - name: Push to dockerhub + uses: docker push lbry/scribe:master