Skip to content

Bump github.com/nats-io/nats-server/v2 from 2.9.20 to 2.9.23 #43

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

Bump github.com/nats-io/nats-server/v2 from 2.9.20 to 2.9.23 #43

Workflow file for this run

name: Docker push
on:
push:
branches:
- master
jobs:
docker_publish:
runs-on: 1.23
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Login to Docker hub
run: docker login -u $DOCKER_USER -p $DOCKER_PASS
- name: Build image
run: |
pwd
ls -l
docker build -t ${{ github.repository }} -f Dockerfile .
- name: Publish image
run: |
docker tag ${{ github.repository }} ${{ github.repository }}:latest
docker push ${{ github.repository }}