File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 type : boolean
3232 default : false
3333
34+
3435jobs :
3536 build-image :
36- runs-on : ubuntu-latest
3737 permissions :
3838 contents : read
3939 packages : write
40-
41- steps :
42- - name : Build Image
43- uses : hathitrust/github_actions/build@v1
44- with :
45- image : ghcr.io/${{ github.repository }}
46- dockerfile : Dockerfile
47- img_tag : ${{ inputs.img_tag }}
48- tag : ${{ inputs.ref }}
49- push_latest : ${{ inputs.push_latest || false }}
50- registry_token : ${{ github.token }}
51- rebuild : ${{ inputs.rebuild || false }}
52- build-args : ' version="commit ${{ github.sha }}"'
53- platforms : ${{ inputs.platforms || 'linux/amd64,linux/arm64' }}
40+ name : Build Image
41+ uses : hathitrust/github_actions/.github/workflows/build.yml@98a7b0f67c16b968bb1f357ac50224dbfa789f3f # v2.0.2
42+ with :
43+ image : ghcr.io/${{ github.repository }}
44+ dockerfile : Dockerfile
45+ img_tag : ${{ inputs.img_tag }}
46+ tag : ${{ inputs.ref }}
47+ push_latest : ${{ inputs.push_latest || false }}
48+ rebuild : ${{ inputs.rebuild || false }}
49+ build-args : ' version="commit ${{ github.sha }}"'
50+ platforms : ${{ inputs.platforms || 'linux/amd64,linux/arm64' }}
51+ secrets : inherit
Original file line number Diff line number Diff line change 1- name : Docker Tag Latest Release
1+ name : Tag Latest Image with Release Version
22
33on :
44 release :
5- types : [ released ]
5+ types : [released]
66
77jobs :
88 tag-release :
9- runs-on : ubuntu-latest
10- steps :
11- - uses : hathitrust/github_actions/tag-release@v1
12- with :
13- registry_token : ${{ github.token }}
14- existing_tag : ghcr.io/hathitrust/feed:${{ github.sha }}
15- image : ghcr.io/hathitrust/feed
16- new_tag : ${{ github.event.release.tag_name }}
9+ name : Tag Release
10+ uses : hathitrust/github_actions/.github/workflows/tag-release.yml@98a7b0f67c16b968bb1f357ac50224dbfa789f3f # v2.0.2
11+ with :
12+ existing_tag : ghcr.io/${{ github.repository }}:${{ github.sha }}
13+ image : ghcr.io/${{ github.repository }}
14+ new_tag : ${{ github.event.release.tag_name }}
15+ secrets : inherit
Original file line number Diff line number Diff line change 3333.cpanm
3434MYMETA.json
3535MYMETA.yml
36+ jobmetrics
You can’t perform that action at this time.
0 commit comments