Skip to content

Commit

Permalink
container
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaosheng Zhang committed Jul 14, 2023
1 parent caeff99 commit 0c14fbd
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,37 @@ jobs:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
prefix: mountpoint-s3(-[a-z]+)?
prefix: mountpoint-s3
draft: true
# TODO: set it true after we have changlog template reviewed.
changelog: false
# TODO: set it false after we have changlog template reviewed.
allow-missing-changelog: true
branch: main
# branch: main
title: "Mountpoint for Amazon S3 v$version"
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
name: Build and release on target ${{ matrix.runner.target}}
runs-on: ${{ matrix.runner.tags }}
container: centos:7

strategy:
fail-fast: false
matrix:
runner:
- tags: [ubuntu-20.04] # GitHub-hosted
target: x86_64-unknown-linux-gnu
# specified `ami_filter` with certain amzn2 image so every time terraform provision ec2 instance will have same OS.
# - tags: [self-hosted, linux, x64]
- tags: ubuntu-latest
target: ubuntu-latest
- tags: [self-hosted, linux, arm64]
target: aarch64-unknown-linux-gnu
target: amzn2-kernel-5.10-arm64

steps:
- name: Install git on container
run: |
yum install git -y
- name: Checkout source code
uses: actions/checkout@v3
with:
Expand All @@ -60,5 +67,3 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
checksum: sha512
asset: LICENSE


0 comments on commit 0c14fbd

Please sign in to comment.