Skip to content

Commit

Permalink
feat(ci): add docker run task
Browse files Browse the repository at this point in the history
  • Loading branch information
jaygridley committed Nov 5, 2024
1 parent 994a89e commit 2f49384
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
File renamed without changes.
6 changes: 5 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ version: '3'

vars:
APP_NAME: exporter
DOCKER_IMAGE: ghcr.io/lablabs/aws-service-quotas-exporter
# DOCKER_IMAGE: ghcr.io/lablabs/aws-service-quotas-exporter
DOCKER_IMAGE: 533837855032.dkr.ecr.eu-central-1.amazonaws.com/aws-service-quotas-exporter:0.0.2-rc1

tasks:
lint:
Expand All @@ -26,3 +27,6 @@ tasks:
docker:build:
cmds:
- docker build -t {{ .DOCKER_IMAGE }} .
docker:run:
cmds:
- docker run --rm --publish 8080:8080 --volume ./config/example.yaml:/config/example.yaml {{ .DOCKER_IMAGE }} --config /config/example.yaml

0 comments on commit 2f49384

Please sign in to comment.