Skip to content

Commit

Permalink
use build-push-action to push image instead of auto shipit
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnider-chg committed Feb 20, 2024
1 parent 269a965 commit a862640
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 24 deletions.
37 changes: 14 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,19 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
context: .
push: false
load: true
tags: bull-monitor:latest
# outputs: type=image,name=bull-monitor,push=false
push: true
tags: ejhayes/nodejs-bull-monitor:latest

- run: docker images

- run: docker image inspect bull-monitor:latest

- run: npm run ci:test

# - name: Create Release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# IMAGE: 'bull-monitor:latest'
# run: |
# npx auto shipit
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx auto shipit
# - name: Docker Hub Description
# uses: peter-evans/dockerhub-description@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# repository: ejhayes/nodejs-bull-monitor
# short-description: 'All in one bull monitoring and reporting utility'
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ejhayes/nodejs-bull-monitor
short-description: 'All in one bull monitoring and reporting utility'
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"ci:test": "docker-compose up -d --no-build grafana bull-monitor",
"format": "prettier --write .",
"generate": "ACTION=createprocess MAX_JOB_DELAY_MS=200 LIMITER_MAX=200 CREATE_DELAY_MS=50 CONCURRENCY=15 ts-node bull_generator.ts",
"generate:create": "ACTION=create CREATE_DELAY_MS=50 ts-node bull_generator.ts",
Expand Down

0 comments on commit a862640

Please sign in to comment.