INTDEV-767 Remove project title from move card tree menu (#531) #39
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: Build and Publish Multi-Arch Image | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-and-publish: | |
runs-on: cyberismo_ubuntu_x64 | |
permissions: | |
contents: read | |
packages: read | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Read version from package.json | |
id: version | |
run: | | |
ver=$(node -p 'require("./package.json").version') | |
echo "VERSION=$ver" >> $GITHUB_ENV | |
- name: Short commit SHA | |
run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
registry: docker.io | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Log in to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push multi-arch Docker image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
file: Dockerfile | |
push: true | |
platforms: linux/amd64,linux/arm64 | |
tags: | | |
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/cyberismo:latest |