Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thebalaa authored Feb 22, 2024
1 parent e04e315 commit dce2652
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches:
- '**' # This will run the workflow on every push to any branch

jobs:
build_and_test:
runs-on: ubuntu-latest

steps:
- name: Build images
run: make docker

- name: Create gateway network
run: make setup

- name: Launch Gateway
run: make gateway

- name: Create link on gateway
run: make link GATEWAY=localhost FQDN=app.example.com EXPOSE=app:3000

- name: Ensure link works by making request to app.example.com
run: curl --resolve app.example.com:443:127.0.0.1 http://app.example.com:443

0 comments on commit dce2652

Please sign in to comment.