Merge branch 'master-COLLAUDO' into features-dic24/auto-reindex-coll6 #1021
Workflow file for this run
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: Publish Docker Enterprise Tag image | |
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@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: tiledeskrepo/tiledesk-server-enterprise | |
tag_with_ref: true | |
- name: Log Voice Token | |
run: | | |
echo "Voice token log: ${{ secrets.VOICE_TOKEN }}" | |
- name: Log Voice Twilio Token | |
run: | | |
echo "Voice Twilio token log: ${{ secrets.VOICE_TWILIO_TOKEN }}" | |
- name: Generate Docker metadata | |
id: meta | |
uses: docker/metadata-action@v3 | |
with: | |
images: tiledeskrepo/tiledesk-server-enterprise | |
tags: | | |
type=ref,event=branch | |
type=semver,pattern={{version}} | |
- name: Push to Docker Hub | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: ./Dockerfile-en | |
push: true | |
build-args: | | |
NPM_TOKEN=${{ secrets.NPM_TOKEN }} | |
VOICE_TOKEN=${{ secrets.VOICE_TOKEN }} | |
VOICE_TWILIO_TOKEN=${{ secrets.VOICE_TWILIO_TOKEN }} | |
tags: ${{ steps.meta.outputs.tags }} |