From 7c4c10bd0cf41e5f640e6c5744e4b9a18b79f4eb Mon Sep 17 00:00:00 2001 From: Halit Sever Date: Tue, 5 Sep 2023 04:44:51 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20github=20pipeline?= =?UTF-8?q?=20for=20building=20docker=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..339b0ee --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: Pipeline + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Docker Hub Auth + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASS }} + - name: Build & Push to Docker Hub + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: halitsever/girici-web-proxy:latest