Upgrade to .NET 8.0 RC2, update ES docker images, update deps #49
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 release arm64 docker images | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build: | |
timeout-minutes: 30 | |
concurrency: | |
cancel-in-progress: true | |
group: arm64 | |
runs-on: macos-latest-xlarge | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.* | |
dotnet-quality: preview | |
- name: Build Reason | |
env: | |
GITHUB_EVENT: ${{ toJson(github) }} | |
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}" | |
- name: Build Version | |
run: | | |
dotnet tool install --global minver-cli --version 4.3.0 | |
version=$(minver --tag-prefix v) | |
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV | |
echo "VERSION=$version" >> $GITHUB_ENV | |
echo "### Version: $version" >> $GITHUB_STEP_SUMMARY | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
platforms: linux/arm64 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Publish Release Packages | |
run: | | |
# tag and push docker image | |
for image in {"api","job","app","exceptionless"}; do | |
docker buildx build --target $image --platform linux/arm64 --output "type=image,push=true" . --tag exceptionless/$image:$VERSION-arm64 --tag exceptionless/$image:latest-arm64 | |
done |