Bump dependencies, scan for all icons in json files #27
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 image | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
push_to_registry: | |
name: Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get tag name | |
run: | | |
( | |
echo "TAG_NAME=${GITHUB_REF#refs/*/v}"; | |
echo "DOCKER_UI_REPO=${{secrets.DOCKER_UI_REPO}}" | |
echo "DOCKER_API_REPO=${{secrets.DOCKER_API_REPO}}" | |
) >> $GITHUB_ENV | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Log in to Docker Hub | |
run: docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_ACCESS_TOKEN }}" | |
- name: Build docker api image | |
run: docker build -f docker/Dockerfile.api . -t $DOCKER_API_REPO:latest -t $DOCKER_API_REPO:$TAG_NAME | |
- name: Build docker ui image | |
run: docker build -f docker/Dockerfile.client . -t $DOCKER_UI_REPO:latest -t $DOCKER_UI_REPO:$TAG_NAME | |
- name: Push Docker api image | |
run: docker push $DOCKER_API_REPO:latest && docker push $DOCKER_API_REPO:$TAG_NAME | |
- name: Push Docker ui image | |
run: docker push $DOCKER_UI_REPO:latest && docker push $DOCKER_UI_REPO:$TAG_NAME |