From de35846d118c4ea11d95bdcd1eac000be88bc147 Mon Sep 17 00:00:00 2001 From: Darren Date: Mon, 10 Jan 2022 12:41:19 -0500 Subject: [PATCH] auto push --- .github/workflows/dockerimage.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index b9f5f26..d4b93c7 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -13,6 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Build the Docker image - run: docker build -f Dockerfile.CompressImages . -t dpaste + - uses: actions/checkout@v2 + name: Check out code + + - uses: mr-smithers-excellent/docker-build-push@v5 + name: Build & push Docker image + with: + image: darrenofficial/dpaste + registry: docker.io + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }}