Skip to content

Commit

Permalink
feat: docker workflow added
Browse files Browse the repository at this point in the history
MR #1
  • Loading branch information
jon-nfc committed Aug 4, 2024
1 parent 1e61b13 commit a782e79
Show file tree
Hide file tree
Showing 3 changed files with 928 additions and 0 deletions.
76 changes: 76 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---

name: 'CI'


on:
# workflow_call:
# inputs:
# build-branch: # tag / dev
# required: true
# type: string
push:
branches:
# - '*' # matches every branch that doesn't contain a '/'
# - '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
tags:
- '*'
# pull_request:
# # branches:
# # - '**'
# types:
# # - opened
# - synchronize
# # - closed
# # - reopened


# env:
# DOCKER_BUILD_IMAGE: "ghcr.io/${{ github.repository }}-fred:${{ github.sha }}"


# permissions:
# pull-requests: write
# contents: read
# actions: read
# checks: write
# packages: write
# security-events: write
# statuses: write



jobs:

docker:
name: 'Docker'
uses: ./.github/workflows/docker.yaml
with:
DOCKER_BUILD_IMAGE_NAME: "${{ github.repository }}"
DOCKER_PUBLISH_REGISTRY: "ghcr.io"
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/image-publish"


release:
name: 'Release'
uses: ./.github/workflows/release.yaml
# with:
# DOCKER_BUILD_IMAGE_NAME: "${{ github.repository }}"

# didnt work
# generate-release-notes:
# name: Auto Release Notes
# needs:
# - docker
# - release
# runs-on: ubuntu-latest
# steps:

# - name: Append GH Release Body
# if: ${{ github.ref_type == 'tag' }}
# id: release
# uses: softprops/action-gh-release@v2
# with:
# append_body: true
# generate_release_notes: true
Loading

0 comments on commit a782e79

Please sign in to comment.