Skip to content

Commit

Permalink
update github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Sid Sun <sid@sidsun.com>
  • Loading branch information
Sid-Sun committed Oct 20, 2023
1 parent 7263bc6 commit ce1e23f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker Image CI

on:
push:
branches: [ redis ]
branches: [ wordsapi ]

jobs:

Expand All @@ -15,6 +15,6 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_ID: ${{ secrets.DOCKER_ID }}
run: |
docker build . --file Dockerfile --tag $DOCKER_ID/oxford-dict-bot:redis
docker build . --file Dockerfile --tag $DOCKER_ID/oxford-dict-bot:wordsapi-redis
echo $DOCKER_PASSWORD | docker login -u $DOCKER_ID --password-stdin
docker push $DOCKER_ID/oxford-dict-bot:redis
docker push $DOCKER_ID/oxford-dict-bot:wordsapi-redis

0 comments on commit ce1e23f

Please sign in to comment.