Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
roshkhatri committed Apr 3, 2024
1 parent 8b5d05e commit 8836bcc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
run: ${{ matrix.runs.images }}

build_and_push:
needs: generate-jobs
needs:
- generate-jobs
- test
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
Expand All @@ -58,18 +60,18 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push

- name: Build and push
uses: docker/build-push-action@v5
with:
file: ./${{ matrix.name }}/${{ matrix.os }}/$Dockerfile
file: ./${{ matrix.directory }}/${{ matrix.file }}
context: .
push: true
tags: roshkhatri/valkey:${{ matrix.name }}-${{ matrix.os }}
tags: roshkhatri/valkey:${{ matrix.tags }}

0 comments on commit 8836bcc

Please sign in to comment.