Skip to content

Commit

Permalink
adds docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
roshkhatri committed Mar 29, 2024
1 parent 49766f8 commit 6bf8b0c
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build linux
name: Build linux and push docker image
on: [push, pull_request]

jobs:
Expand All @@ -10,3 +10,24 @@ jobs:
- uses: actions/checkout@v3
- name: make install
run: make install

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
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
uses: docker/build-push-action@v5
with:
file: ./dockerfiles/Dockerfile
context: .
push: true
tags: roshkhatri/valkeydemo:latest

0 comments on commit 6bf8b0c

Please sign in to comment.