File tree 1 file changed +19
-1
lines changed
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,28 @@ jobs:
62
62
needs : changes
63
63
runs-on : ubuntu-latest
64
64
if : ${{ (needs.changes.outputs.updates == 'true' && github.event_name == 'schedule') || github.event_name == 'workflow_dispatch' }}
65
+ outputs :
66
+ new_version : ${{ steps.version.outputs.new-version }}
65
67
steps :
66
68
- uses : actions/checkout@v3
67
69
- name : Version Release
70
+ id : version
68
71
uses : SkynetLabs/.github/.github/actions/version-release@master
69
72
with :
70
73
github-token : ${{secrets.GITHUB_TOKEN}}
71
- version-bump : ${{inputs.version}}
74
+ version-bump : ${{github.event.inputs.version}}
75
+
76
+ docker :
77
+ needs : release
78
+ name : Build and Push Docker image to Docker Hub
79
+ runs-on : ubuntu-latest
80
+ steps :
81
+ - name : Check out the repo
82
+ uses : actions/checkout@v3
83
+
84
+ - uses : SkynetLabs/.github/.github/actions/docker-publish@master
85
+ with :
86
+ docker_username : ${{ secrets.DOCKER_USERNAME}}
87
+ docker_password : ${{ secrets.DOCKER_PASSWORD}}
88
+ docker_repository : skynetlabs/skynet-accounts
89
+ semver_version : ${{ needs.release.outputs.new_version }}
You can’t perform that action at this time.
0 commit comments