Skip to content

Commit

Permalink
PA-13963 Updated GitHub release actions (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
SOOS-MMalony committed May 13, 2024
1 parent ff1f682 commit c57dee9
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 45 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/soos-csa-docker-image-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: soosio/csa:beta
labels: ${{ steps.meta.outputs.labels }}
- name: Promote alpha to beta
id: promote-alpha-to-beta
run: |
docker pull soosio/csa:alpha
docker tag soosio/csa:alpha soosio/csa:beta
docker push soosio/csa:beta
13 changes: 6 additions & 7 deletions .github/workflows/soos-csa-docker-image-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: soosio/csa:latest
labels: ${{ steps.meta.outputs.labels }}
- name: Promote beta to latest
id: promote-beta-to-latest
run: |
docker pull soosio/csa:beta
docker tag soosio/csa:beta soosio/csa:latest
docker push soosio/csa:latest
- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
Expand Down
54 changes: 27 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "SOOS",
"publisher": "SOOS",
"license": "MIT",
"version": "1.1.6",
"version": "1.1.7",
"main": "dist/index.js",
"scripts": {
"setup:install": "npm install",
Expand Down Expand Up @@ -45,13 +45,13 @@
"dependencies": {
"@soos-io/api-client": "0.2.47",
"argparse": "^2.0.1",
"glob": "^10.3.10",
"glob": "^10.3.14",
"tslib": "^2.6.2"
},
"devDependencies": {
"@types/argparse": "^2.0.15",
"@types/node": "^20.11.28",
"@types/node": "^20.12.11",
"prettier": "^3.2.5",
"typescript": "^5.4.2"
"typescript": "^5.4.5"
}
}

0 comments on commit c57dee9

Please sign in to comment.