Skip to content

Add Github Actions

Add Github Actions #1

Workflow file for this run

ame: Build & Publish Docker Image PHP 7.4

Check failure on line 1 in .github/workflows/docker-php7.4.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-php7.4.yml

Invalid workflow file

The workflow is not valid. .github/workflows/docker-php7.4.yml (Line: 1, Col: 1): Unexpected value 'ame'
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