Skip to content

Bump github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.23 #20

Bump github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.23

Bump github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.23 #20

name: Client Docker Image CI
on:
push:
paths-ignore:
- 'charts/**'
- '**.md'
branches: [ main ]
pull_request:
paths-ignore:
- 'helm/**'
- '**.md'
branches: [ main ]
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file dockerfiles/client/Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/client:latest
- name: Docker push
run: |
docker login ${{ env.REGISTRY }} -u jebinjeb -p ${{ secrets.GITHUB_TOKEN }}
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/client:latest
if: github.event_name == 'push'