Bump @mui/icons-material from 5.15.10 to 5.15.15 (#499) #148
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: Create docker image(s) and push to docker hub | |
on: | |
push: | |
# Sequence of patterns matched against refs/heads | |
# prettier-ignore | |
branches: | |
# Push events on master branch | |
- master | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- '[0-9]+\.[0-9]+\.[0-9]+' # Push events to 0.X.X tag | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Calculate docker image tag | |
id: set-tag | |
run: | | |
case "${GITHUB_REF}" in | |
refs/heads/master|refs/heads/main) | |
tag=latest | |
;; | |
refs/tags/*) | |
tag=${GITHUB_REF#refs/tags/} | |
;; | |
*) | |
tag=${GITHUB_SHA} | |
;; | |
esac | |
echo "::set-output name=tag::$tag" | |
- name: Build and Push Tag | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
push: true | |
tags: "awesometechnologies/synapse-admin:${{ steps.set-tag.outputs.tag }}" | |
platforms: linux/amd64,linux/arm64 |