git.iko.soy/typeable/octopod
on master help sign in
Minor CI fixes
commit1201df2bb8b0a183ffaaaea3020a3e739a083f6a authoriko <ilyakooo0@gmail.com> dateFri 8 Oct 2021, 19:37 (5 years ago) parent80739a2
2 files changed+6−4
.github/workflows/build.yaml+1 .github/workflows/release.yaml+5−4
.github/workflows/build.yaml+1
@@ -74,6 +74,7 @@ jobs:
7474 run: nix-build ./nix -j auto
7575
7676 - name: Push Nightly Docker Images to DockerHub
77+ if: github.ref == 'refs/heads/master'
7778 uses: ./.github/actions/push_docker_images
7879 with:
7980 tag: nightly
.github/workflows/release.yaml+5−4
@@ -3,7 +3,7 @@ on:
33 workflow_dispatch:
44 inputs:
55 version:
6− description: The number of the version to release
6+ description: The version to release
77 required: true
88
99jobs:
@@ -11,14 +11,15 @@ jobs:
1111 name: "Release"
1212 runs-on: "ubuntu-latest"
1313 steps:
14+ - uses: actions/checkout@v2
1415 - name: Common setup
1516 uses: ./.github/actions/common_setup
1617 with:
1718 cachixSigningKey: ${{ secrets.CACHIX_SIGNING_KEY }}
18− - name: Push Nightly Docker Images to DockerHub
19+ - name: Push Docker Images to DockerHub
1920 uses: ./.github/actions/push_docker_images
2021 with:
21− tag: ${{ inputs.version }}
22+ tag: ${{ github.event.inputs.version }}
2223 docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
2324 docker_password: ${{ secrets.DOCKERHUB_TOKEN }}
2425
@@ -37,7 +38,7 @@ jobs:
3738 repo_token: "${{ secrets.GITHUB_TOKEN }}"
3839 automatic_release_tag: "latest"
3940 prerelease: false
40− title: "${{ inputs.version }}"
41+ title: "${{ github.event.inputs.version }}"
4142 files: |
4243 *.zip
4344 *.tar.gz