Bump github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.23 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |