diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.yml new file mode 100644 index 00000000..93037441 --- /dev/null +++ b/.github/workflows/docker-dev.yml @@ -0,0 +1,21 @@ +name: Build & Publish Dev Docker image + +on: + push: + branches: + - "dev" +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