Skip to content

Commit

Permalink
Merge pull request #208 from SkynetLabs/matt/sky-424-accounts
Browse files Browse the repository at this point in the history
Fix release and add docker publish
  • Loading branch information
MSevey committed May 13, 2022
2 parents b4174c0 + a03b1f5 commit beeea2a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,28 @@ jobs:
needs: changes
runs-on: ubuntu-latest
if: ${{ (needs.changes.outputs.updates == 'true' && github.event_name == 'schedule') || github.event_name == 'workflow_dispatch' }}
outputs:
new_version: ${{ steps.version.outputs.new-version }}
steps:
- uses: actions/checkout@v3
- name: Version Release
id: version
uses: SkynetLabs/.github/.github/actions/version-release@master
with:
github-token: ${{secrets.GITHUB_TOKEN}}
version-bump: ${{inputs.version}}
version-bump: ${{github.event.inputs.version}}

docker:
needs: release
name: Build and Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- uses: SkynetLabs/.github/.github/actions/docker-publish@master
with:
docker_username: ${{ secrets.DOCKER_USERNAME}}
docker_password: ${{ secrets.DOCKER_PASSWORD}}
docker_repository: skynetlabs/skynet-accounts
semver_version: ${{ needs.release.outputs.new_version }}

0 comments on commit beeea2a

Please sign in to comment.