feat: remove some needless code #887
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: .NET Core | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build with dotnet | |
run: dotnet build --configuration Release | |
- name: Build image | |
run: docker build -f "Dockerfile" --force-rm -t laozhangisphi/apkimg . | |
- name: Log into registry | |
run: echo "${{ secrets.ACCESS_TOKEN }}" | docker login -u laozhangisphi --password-stdin | |
- name: Push image | |
run: docker push laozhangisphi/apkimg |