mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Adding build workflow
This commit is contained in:
19
.github/workflows/build.yml
vendored
Normal file
19
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Build
|
||||
description: 'Build and push docker images.'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-app-image:
|
||||
runs-on: ubuntu:18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
docker build -t cloudfirellc/cloudfire:${GITHUB_SHA::8} .
|
||||
- name: Push Docker Image
|
||||
run: |
|
||||
docker push cloudfirellc/cloudfire:latest
|
||||
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@@ -1,16 +1,8 @@
|
||||
name: Deploy
|
||||
description: "Deploy images"
|
||||
|
||||
on:
|
||||
release: created
|
||||
|
||||
jobs:
|
||||
build-image:
|
||||
runs-on: ubuntu:18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
docker build -t cloudfirellc/cloudfire:latest .
|
||||
- name: Push Docker Image
|
||||
run: |
|
||||
docker push cloudfirellc/cloudfire:latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user