Skip to content

Commit beeea2a

Browse files
authored
Merge pull request #208 from SkynetLabs/matt/sky-424-accounts
Fix release and add docker publish
2 parents b4174c0 + a03b1f5 commit beeea2a

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci_release.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,28 @@ jobs:
6262
needs: changes
6363
runs-on: ubuntu-latest
6464
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 }}
6567
steps:
6668
- uses: actions/checkout@v3
6769
- name: Version Release
70+
id: version
6871
uses: SkynetLabs/.github/.github/actions/version-release@master
6972
with:
7073
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 }}

0 commit comments

Comments
 (0)