Skip to content

Commit

Permalink
Update github actions for deprecation (#332)
Browse files Browse the repository at this point in the history
* Update deprecated statements in stable-cicd.yaml

* Update deprecated statements in unstable-cicd.yaml

* get VERY VERY EXPLICIT with the jarfile detection
  • Loading branch information
alexdunnjpl authored May 3, 2023
1 parent d6755f6 commit 66e8c4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/stable-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
name: 🫙 Jar and Tag Determination
id: jartag
run: |
echo "::set-output name=jar_file::$(ls ./service/target/*.jar)"
echo "::set-output name=image_tag::$(echo ${{github.ref}} | awk -F/ '{print $NF}')"
echo "jar_file=$(find ./service/target/ -maxdepth 1 -regextype posix-extended -regex '.*/registry-api-service-[0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?\.jar')" >> $GITHUB_OUTPUT
echo "image_tag=$(echo ${{github.ref}} | awk -F/ '{print $NF}')" >> $GITHUB_OUTPUT
-
name: 💳 Docker Hub Identification
uses: docker/login-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unstable-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
-
name: 🫙 Jar File Determination
id: jarrer
run: echo "::set-output name=jar_file::$(ls ./service/target/*.jar)"
run: echo "jar_file=$(find ./service/target/ -maxdepth 1 -regextype posix-extended -regex '.*/registry-api-service-[0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?\.jar')" >> $GITHUB_OUTPUT
-
name: 💳 Docker Hub Identification
uses: docker/login-action@v2
Expand Down

0 comments on commit 66e8c4d

Please sign in to comment.