Skip to content

Commit aaf1cf5

Browse files
Fix webtransport (#165)
* getting system to work * push image * do not check in secrets * clippy fmt * extract branch name * update image * make error reason mandatory * checkin work * fmt * swapping webtransport lib * swapped out webtransport * adding heartbeats * update webtransport * reverting hacks * commit lock changes
1 parent a637488 commit aaf1cf5

File tree

24 files changed

+1243
-445
lines changed

24 files changed

+1243
-445
lines changed

Diff for: .github/workflows/upload-api-docker-hub.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish API to Docker image
22

33
on:
4+
# pull_request:
5+
# paths:
6+
# - '*'
47
push:
58
branches:
69
- main
@@ -28,10 +31,14 @@ jobs:
2831
id: extract_sha
2932
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA::8})"
3033

34+
- name: Extract branch name
35+
id: extract_branch
36+
run: echo "::set-output name=branch::${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
37+
3138
- name: Build and push API Docker image
3239
uses: docker/build-push-action@v4
3340
with:
3441
context: .
3542
file: Dockerfile.actix
3643
push: true
37-
tags: securityunion/rustlemania-api:${{ github.ref_name }}-${{ steps.extract_sha.outputs.sha8 }}
44+
tags: securityunion/rustlemania-api:${{ steps.extract_branch.outputs.branch }}-${{ steps.extract_sha.outputs.sha8 }}

Diff for: .github/workflows/upload-ui-docker-hub.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish UI to Docker image
22

33
on:
4+
# pull_request:
5+
# paths:
6+
# - '*'
47
push:
58
branches:
69
- main

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.mov
33
.mp4
44
.env
5-
target/
5+
target/
6+
helm/digital-ocean-secret

0 commit comments

Comments
 (0)