Skip to content

Commit

Permalink
Fix pathing (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim authored Oct 25, 2022
1 parent 84ec854 commit f3c548a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
strategy:
fail-fast: false
matrix:
docker-suffix: ['.edge', '.preview', '.latest']
docker-suffix: ['edge', 'preview', 'latest']
steps:
- name: install redis tools
run: sudo apt-get update && sudo apt-get install -y redis-tools
- uses: actions/checkout@v2
- name: build the docker
run: |
docker build -f Dockerfile${{ matrix.docker-suffix }} -t redismod:github${{ matrix.docker-suffix }} .
docker build -f Dockerfile.${{ matrix.docker-suffix }} -t redisfab/redismod:${{ matrix.docker-suffix }} .
- name: light test that redis runs
run: |
docker run -d -p 6379:6379 redismod:github${{ matrix.docker-suffix }}
docker run -d -p 6379:6379 redisfab/redismod:${{ matrix.docker-suffix }}
redis-cli -p 6379 ping
redis-cli -p 6379 set foo bar
redis-cli -p 6379 get foo|grep bar
Expand All @@ -45,5 +45,5 @@ jobs:
username: ${{ secrets.DOCKERHUB_REDISFAB_USERNAME }}
password: ${{ secrets.DOCKERHUB_REDISFAB_TOKEN }}
- name: docker push
if: github.ref == 'refs/heads/master'
run: docker push redismod:${{matrix.docker-suffix}}
#if: github.ref == 'refs/heads/master'
run: docker push redisfab/redismod:${{matrix.docker-suffix}}

0 comments on commit f3c548a

Please sign in to comment.