mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 06:49:15 +01:00
Added docker workflows
This commit is contained in:
16
.github/workflows/docker-image-dev.yml
vendored
Normal file
16
.github/workflows/docker-image-dev.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Docker Dev
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ dev-docker ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
||||
16
.github/workflows/docker-image-pr.yml
vendored
Normal file
16
.github/workflows/docker-image-pr.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: DockerPR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ docker, dev-docker, alpha-docker ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
||||
16
.github/workflows/docker-image-stable.yml
vendored
Normal file
16
.github/workflows/docker-image-stable.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Docker Stable
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ docker ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
||||
Reference in New Issue
Block a user