Skip to content

Commit

Permalink
Add Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DiouxX committed Jun 14, 2024
1 parent c1171a1 commit f5fd511
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-php7.4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
ame: Build & Publish Docker Image PHP 7.4

on:
push:
branches:
- php7.4
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set output
id: vars
run: echo ::set-output name=tag::$
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: diouxx/glpi:php7.4

0 comments on commit f5fd511

Please sign in to comment.