From 6838e3c767e289c2216a45098dbe90946e8d3c23 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 23 Sep 2021 09:59:29 -0700 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 447050b..fd82e22 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -7,21 +7,14 @@ on: branches: [ master ] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag frishi/threetwo:$(date +%s) - - name: Action Docker Push - # You may pin to the exact commit or the version. - # uses: timzu/act-docker@8f210802215e27956d668a1a963f02ae760983fb - uses: timzu/act-docker@v0.3.4 - env: - USERNAME: ${{ secrets.DOCKER_USERNAME }} - PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - TAG_NAME: "v0.0.1" + - uses: actions/checkout@master + - name: Publish to Registry + uses: elgohr/Publish-Docker-Github-Action@master + with: + name: frishi/threetwo + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }}