Skip to content

updated package.json version to 1.0.6 #16

updated package.json version to 1.0.6

updated package.json version to 1.0.6 #16

name: Publish Docker Community image tags - Tiledesk Chatbot
env:
REGISTRY: tiledeskrepo
IMAGE_NAME: tiledesk-chatbot
on:
push:
tags:
- '**' # Push events to every tag including hierarchical tags like
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tag_with_ref: true
- name: Generate Docker metadata
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
- name: Build and push
uses: docker/build-push-action@v4
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}