-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
39 additions
and
21 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
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
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
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ jobs: | |
- ceil-vis | ||
- ceil-vis15 | ||
- ensemble | ||
- home | ||
- landuse | ||
- precipAccum | ||
- precipGauge | ||
|
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,24 @@ | ||
name: Cleanup Home App PR images | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
paths: | ||
- "home/**" | ||
|
||
jobs: | ||
purge-images: | ||
name: Cleanup PR images from ghcr.io | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get tag & appname | ||
run: | | ||
echo "BRANCH=${GITHUB_HEAD_REF}" >> $GITHUB_ENV | ||
- name: Cleanup images | ||
if: ${{ (env.BRANCH != 'development') && (env.BRANCH != 'main') }} # don't prune images from the development or main branches | ||
uses: bots-house/[email protected] | ||
with: | ||
owner: noaa-gsl | ||
name: mats/development/home | ||
token: ${{ secrets.GHCR_CLEANUP_PAT }} | ||
tag: ${{ env.BRANCH }} |
4 changes: 3 additions & 1 deletion
4
.github/workflows/prune-pr-images.yml → .github/workflows/prune-mats-pr-images.yml
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
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
purge-untagged-images: | ||
name: Delete image from ghcr.io | ||
name: Remove untagged images from ghcr.io | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
@@ -17,6 +17,7 @@ jobs: | |
- ceil-vis | ||
- ceil-vis15 | ||
- ensemble | ||
- home | ||
- landuse | ||
- precipAccum | ||
- precipGauge | ||
|
@@ -32,7 +33,7 @@ jobs: | |
uses: snok/[email protected] | ||
with: | ||
image-names: mats/development/${{ matrix.app }} | ||
cut-off: 1 day ago MST | ||
cut-off: 1 week ago MST | ||
account-type: org | ||
org-name: noaa-gsl | ||
untagged-only: true | ||
|
Submodule METexpress
updated
6 files