-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1007 Bytes
/
ci.yml
File metadata and controls
37 lines (37 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
name: CI
permissions:
contents: read
on:
workflow_dispatch:
push:
jobs:
build-linux:
name: Build Containers (Linux)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Login to DockerHub
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build
run: |
docker build -f linux/Dockerfile -t gesellix/echo-server:local-linux .
build-windows:
name: Build Containers (Windows)
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Login to DockerHub
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build
run: |
docker build -f windows/Dockerfile -t gesellix/echo-server:local-windows .
...