Skip to content

Commit a782e79

Browse files
committed
feat: docker workflow added
MR #1
1 parent 1e61b13 commit a782e79

File tree

3 files changed

+928
-0
lines changed

3 files changed

+928
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
3+
name: 'CI'
4+
5+
6+
on:
7+
# workflow_call:
8+
# inputs:
9+
# build-branch: # tag / dev
10+
# required: true
11+
# type: string
12+
push:
13+
branches:
14+
# - '*' # matches every branch that doesn't contain a '/'
15+
# - '*/*' # matches every branch containing a single '/'
16+
- '**' # matches every branch
17+
tags:
18+
- '*'
19+
# pull_request:
20+
# # branches:
21+
# # - '**'
22+
# types:
23+
# # - opened
24+
# - synchronize
25+
# # - closed
26+
# # - reopened
27+
28+
29+
# env:
30+
# DOCKER_BUILD_IMAGE: "ghcr.io/${{ github.repository }}-fred:${{ github.sha }}"
31+
32+
33+
# permissions:
34+
# pull-requests: write
35+
# contents: read
36+
# actions: read
37+
# checks: write
38+
# packages: write
39+
# security-events: write
40+
# statuses: write
41+
42+
43+
44+
jobs:
45+
46+
docker:
47+
name: 'Docker'
48+
uses: ./.github/workflows/docker.yaml
49+
with:
50+
DOCKER_BUILD_IMAGE_NAME: "${{ github.repository }}"
51+
DOCKER_PUBLISH_REGISTRY: "ghcr.io"
52+
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/image-publish"
53+
54+
55+
release:
56+
name: 'Release'
57+
uses: ./.github/workflows/release.yaml
58+
# with:
59+
# DOCKER_BUILD_IMAGE_NAME: "${{ github.repository }}"
60+
61+
# didnt work
62+
# generate-release-notes:
63+
# name: Auto Release Notes
64+
# needs:
65+
# - docker
66+
# - release
67+
# runs-on: ubuntu-latest
68+
# steps:
69+
70+
# - name: Append GH Release Body
71+
# if: ${{ github.ref_type == 'tag' }}
72+
# id: release
73+
# uses: softprops/action-gh-release@v2
74+
# with:
75+
# append_body: true
76+
# generate_release_notes: true

0 commit comments

Comments
 (0)