compose action

This commit is contained in:
Brian Christner 2019-11-01 00:11:59 +01:00 committed by GitHub
parent 5a42c51513
commit 9e342c1895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 14 deletions

View File

@ -1,14 +0,0 @@
name: prometheus test
on: [push]
jobs:
build:
runs-on: docker:compose
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: docke-compose up

18
.github/workflows/prom-test.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: prometheus test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install compose
run: sudo curl -L --fail https://github.com/docker/compose/releases/download/1.24.1/run.sh -o /usr/local/bin/docker-compose
- name: chmod compose
run: sudo chmod +x /usr/local/bin/docker-compose
- name: Build the Docker image
run: docke-compose up