From 15dc7895a10a2d75a24a3474229edca54d24f183 Mon Sep 17 00:00:00 2001 From: Mateusz Wszeborowski Date: Sat, 29 Aug 2020 19:41:55 +0200 Subject: [PATCH] Create dockerHub.yml --- .github/workflows/dockerHub.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/dockerHub.yml diff --git a/.github/workflows/dockerHub.yml b/.github/workflows/dockerHub.yml new file mode 100644 index 0000000..224f98f --- /dev/null +++ b/.github/workflows/dockerHub.yml @@ -0,0 +1,23 @@ +name: .NET Core + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build and push Docker images + uses: docker/build-push-action@v1 + with: + dockerfile: Dockerfile + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + repository: 25kiop2020/mops-web + tags: latest