-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #311 from Secure-Compliance-Solutions-LLC/dev
V21.4.4-v2
- Loading branch information
Showing
4 changed files
with
80 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
template: | | ||
# What's Changed | ||
$CHANGES | ||
categories: | ||
- title: 'Breaking' | ||
label: 'type: breaking' | ||
- title: 'New' | ||
label: 'type: feature' | ||
- title: 'Bug Fixes' | ||
label: 'type: bug' | ||
- title: 'Maintenance' | ||
label: 'type: maintenance' | ||
- title: 'Dependency Updates' | ||
label: 'type: dependencies' | ||
|
||
version-resolver: | ||
major: | ||
labels: | ||
- 'type: breaking' | ||
minor: | ||
labels: | ||
- 'type: feature' | ||
patch: | ||
labels: | ||
- 'type: bug' | ||
- 'type: maintenance' | ||
- 'type: dependencies' | ||
- 'type: security' | ||
|
||
exclude-labels: | ||
- 'skip-changelog' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,11 @@ on: | |
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master, dev] | ||
branches: [master] | ||
create: | ||
tags: | ||
release: | ||
types: [published, edited] | ||
|
||
concurrency: ci-debian-${{ github.ref }} | ||
|
||
|
@@ -38,26 +40,6 @@ jobs: | |
id: vars | ||
run: echo ::set-output name=docker_tag::$(echo ${GITHUB_REF} | cut -d'/' -f3)-${GITHUB_SHA} | ||
|
||
- name: Download artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
# Optional, GitHub token, a Personal Access Token with `public_repo` scope if needed | ||
# Required, if artifact is from a different repo | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
# Required, workflow file name or ID | ||
workflow: build-apk.yml | ||
# Optional, will use the branch | ||
branch: master | ||
# Optional, uploaded artifact name, | ||
# will download all artifacts if not specified | ||
# and extract them in respective subdirectories | ||
# https://github.com/actions/download-artifact#download-all-artifacts | ||
name: apk-builds | ||
# Optional, directory where to extract artifact. Defaults to the artifact name (see `name` input) | ||
path: ${{ github.workspace }}/apk-build/ | ||
# Optional, defaults to current repo | ||
repo: Secure-Compliance-Solutions-LLC/GVM-APK-build | ||
|
||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile.debian --build-arg OPT_PDF=1 --tag ${{ env.IMAGE_REPOSITORY_GHCR }}:${{ github.sha }} | ||
|
||
|
@@ -102,6 +84,8 @@ jobs: | |
|
||
build_test_anchore: | ||
name: Build and Test - Anchore | ||
# ...but only when a `release` is `published` (combined with `on`) | ||
if: github.event_name == 'release' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -115,26 +99,6 @@ jobs: | |
id: vars | ||
run: echo ::set-output name=docker_tag::$(echo ${GITHUB_REF} | cut -d'/' -f3)-${GITHUB_SHA} | ||
|
||
- name: Download artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
# Optional, GitHub token, a Personal Access Token with `public_repo` scope if needed | ||
# Required, if artifact is from a different repo | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
# Required, workflow file name or ID | ||
workflow: build-apk.yml | ||
# Optional, will use the branch | ||
branch: master | ||
# Optional, uploaded artifact name, | ||
# will download all artifacts if not specified | ||
# and extract them in respective subdirectories | ||
# https://github.com/actions/download-artifact#download-all-artifacts | ||
name: apk-builds | ||
# Optional, directory where to extract artifact. Defaults to the artifact name (see `name` input) | ||
path: ${{ github.workspace }}/apk-build/ | ||
# Optional, defaults to current repo | ||
repo: Secure-Compliance-Solutions-LLC/GVM-APK-build | ||
|
||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile.debian --build-arg OPT_PDF=1 --tag ${{ env.IMAGE_REPOSITORY_GHCR }}:${{ github.sha }} | ||
|
||
|
@@ -218,26 +182,6 @@ jobs: | |
fi | ||
echo -n "${IMAGE_NAME_GHCR}" | ||
- name: Download artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
# Optional, GitHub token, a Personal Access Token with `public_repo` scope if needed | ||
# Required, if artifact is from a different repo | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
# Required, workflow file name or ID | ||
workflow: build-apk.yml | ||
# Optional, will use the branch | ||
branch: master | ||
# Optional, uploaded artifact name, | ||
# will download all artifacts if not specified | ||
# and extract them in respective subdirectories | ||
# https://github.com/actions/download-artifact#download-all-artifacts | ||
name: apk-builds | ||
# Optional, directory where to extract artifact. Defaults to the artifact name (see `name` input) | ||
path: ${{ github.workspace }}/apk-build/ | ||
# Optional, defaults to current repo | ||
repo: Secure-Compliance-Solutions-LLC/GVM-APK-build | ||
|
||
# Extract metadata (tags, labels) for Docker | ||
# https://github.com/docker/metadata-action | ||
- name: Extract Docker metadata | ||
|
@@ -375,3 +319,8 @@ jobs: | |
build-args: | | ||
SETUP=1 | ||
OPT_PDF=1 | ||
- name: Update changelog | ||
uses: thomaseizinger/[email protected] | ||
with: | ||
version: ${{ github.event.inputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master, dev] | ||
branches: [master] | ||
create: | ||
tags: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters