diff --git a/.github/workflows/dockerbuild.release.yml b/.github/workflows/dockerbuild.release.yml new file mode 100644 index 000000000..bb0bfdc6d --- /dev/null +++ b/.github/workflows/dockerbuild.release.yml @@ -0,0 +1,56 @@ +name: Docker Build Production + +on: + release: + types: [published] + +jobs: + build: + runs-on: ubuntu-latest + steps: + # + # Get Release Version + # + - uses: oprypin/find-latest-tag@v1 + with: + repository: hay-kot/mealie # The repository to scan. + releases-only: true # We know that all relevant tags have a GitHub release for them. + id: mealie_version # The step ID to refer to later. + # + # Checkout + # + - name: checkout code + uses: actions/checkout@v2 + # + # Setup QEMU + # + - name: Set up QEMU + id: qemu + uses: docker/setup-qemu-action@v1 + with: + image: tonistiigi/binfmt:latest + platforms: all + # + # Setup Buildx + # + - name: install buildx + id: buildx + uses: docker/setup-buildx-action@v1 + with: + install: true + # + # Login to Docker Hub + # + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + # + # Build + # + - name: build the image + run: | + docker build --push \ + --tag hkotel/mealie:${{ steps.mealie_version.outputs.tag }} \ + --platform linux/amd64,linux/arm/v7,linux/arm64 . diff --git a/.vscode/settings.json b/.vscode/settings.json index be59f4b7e..b2cd9fb84 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -17,5 +17,6 @@ "i18n-ally.keystyle": "nested", "cSpell.words": [ "performant" - ] + ], + "search.mode": "reuseEditor" }