Skip to content

Commit

Permalink
Add Docker build and push to dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
DiouxX committed Mar 22, 2024
1 parent fb5f497 commit f8ceba3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker-dev.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
push: true
tags: diouxx/glpi:dev

0 comments on commit f8ceba3

Please sign in to comment.