Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #299

Merged
merged 3 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
reviewers:
- "joshua-seals"
- "Hoid"
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# - flake8-linter
# - image-build-test
#
# This workflow only validates images can build
# but does not push images to any repository.
# This workflow will build a test image for everything but develop
# and main branches. The tag will be test_{your_branch_name}
#
# The build-push-dev-image and build-push-release workflows
# handle the develop and release image storage respectively.
Expand All @@ -21,8 +21,8 @@ on:
paths-ignore:
- README.md
- .old_cicd/*
# - .github/*
# - .github/workflows/*
- .github/*
- .github/workflows/*
- LICENSE
- .gitignore
- .dockerignore
Expand Down Expand Up @@ -96,7 +96,12 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
logout: true


- name: Parse Github Reference Name
id: branch
run: |
REF=${{ github.ref_name }}
echo "GHR=${REF%/*}" >> $GITHUB_OUTPUT


# Notes on Cache:
# https://docs.docker.com/build/ci/github-actions/examples/#inline-cache
Expand All @@ -106,6 +111,6 @@ jobs:
context: .
push: true
tags: |
${{ github.repository }}:test_image_${{ github.ref_name }}
${{ github.repository }}:test_${{ steps.branch.outputs.GHR }}
cache-from: type=registry,ref=${{ github.repository }}:buildcache
cache-to: type=registry,ref=${{ github.repository }}:buildcache,mode=max
Loading