Skip to content

Commit

Permalink
Added pipeline configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmaurice committed Aug 28, 2023
1 parent e5b6ca6 commit 0548bc5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ jobs:
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Get last build tag from another repository
id: get_tag
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const { data: releases } = await github.repos.listReleases({
owner: 'justereseau',
repo: 'jackett',
per_page: 1
});
return releases[0].tag_name;
- name: Build and push
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 0548bc5

Please sign in to comment.