chore(release): 1.4.3 #10
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: Build and push main image | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
push-store-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout GitHub Action' | |
uses: actions/checkout@main | |
- name: 'Login to GitHub Container Registry' | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{github.actor}} | |
password: ${{secrets.ACCESS_TOKEN}} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: 'Build and push Inventory Image' | |
run: | | |
IMAGE_NAME="ghcr.io/remvze/moodist" | |
GIT_TAG=${{ github.ref }} | |
GIT_TAG=${GIT_TAG#refs/tags/} | |
docker buildx build \ | |
--platform linux/amd64,linux/arm64 \ | |
-t $IMAGE_NAME:latest \ | |
-t $IMAGE_NAME:$GIT_TAG \ | |
--push . |