From f8ceba3d73a11991d60c012f105c34c2712c7842 Mon Sep 17 00:00:00 2001 From: DiouxX Date: Fri, 22 Mar 2024 13:38:30 +0100 Subject: [PATCH] Add Docker build and push to dev branch --- .github/workflows/docker-dev.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/docker-dev.yml diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.yml new file mode 100644 index 00000000..586bb26c --- /dev/null +++ b/.github/workflows/docker-dev.yml @@ -0,0 +1,23 @@ +name: Build & Publish Dev Docker image + +on: + push: + branches: + - "dev" + workflow_dispatch: + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - name: Login to DockerHub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v5.3.0 + with: + push: true + tags: diouxx/glpi:dev