From b2b4866e7059456714467254b593ff635e45d0e9 Mon Sep 17 00:00:00 2001 From: Matthew Alexander LaChance Date: Fri, 11 Sep 2020 13:06:57 -0400 Subject: [PATCH] Add checkout step --- .github/workflows/dependabot.yml | 7 ------- .github/workflows/docker-build.yml | 2 ++ Dockerfile => Dockerfile.prod | 0 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 .github/workflows/dependabot.yml rename Dockerfile => Dockerfile.prod (100%) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml deleted file mode 100644 index 78f506b..0000000 --- a/.github/workflows/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -updates: -# Maintain dependencies for GitHub Actions -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 90e3c83..a25047d 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -19,12 +19,14 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - uses: actions/checkout@v2 - name: Build container image and push to DockerHub id: docker_build uses: docker/build-push-action@v2 with: push: true tags: 'mlibrary/mattlach-phineas-testing-actions:testing-latest,mlibrary/mattlach-phineas-testing-actions:testing-${{ github.sha }}' + file: Dockerfile.prod - name: Image digest run: | echo '${{ steps.docker_build.outputs.digest }}' diff --git a/Dockerfile b/Dockerfile.prod similarity index 100% rename from Dockerfile rename to Dockerfile.prod