diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 6c9fdf3..2e3ae2d 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -40,7 +40,7 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build - run: docker build -t ghcr.io/${{ github.repository }}/geni:${{ github.ref_name }} . + run: docker build -t ghcr.io/${{ github.repository }}:${{ github.ref_name }} . - name: Push if: startsWith(github.ref, 'refs/tags/') run: docker push ghcr.io/${{ github.repository }}:${{ github.ref_name }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5c8535d..3882858 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -100,20 +100,20 @@ jobs: if: ${{matrix.os != 'windows'}} shell: bash run: | - cp target/release/geni geni-${{matrix.os}}-${{matrix.arch}} + cp target/release/geni geni - name: Rename package if: ${{matrix.os == 'windows'}} shell: bash run: | - cp target/release/geni.exe geni-${{matrix.os}}-${{matrix.arch}}.exe + cp target/release/geni.exe geni - uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-${{ matrix.arch }} - path: geni-${{matrix.os}}-${{matrix.arch}}* + path: geni - name: Publish to release if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 with: - files: 'geni*' + files: 'geni' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}