Skip to content

Commit

Permalink
修改自述文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-SummerFlower committed Apr 23, 2024
1 parent 3b18808 commit 311f311
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:

deploy:
build-and-release:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,13 +21,9 @@ jobs:
run: |
docker build -t picture_api -f ./dockerfile .
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin

- name: Push image
- name: Export image
run: |
docker tag picture_api docker.pkg.github.com/${{ github.repository }}/picture_api:latest
docker push docker.pkg.github.com/${{ github.repository }}/picture_api:latest
docker save picture_api | gzip > picture_api.tar.gz
- name: Create GitHub Release
id: create_release
Expand Down

0 comments on commit 311f311

Please sign in to comment.