Skip to content

Commit

Permalink
[Chore] Fix autoreleasing CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
rvem committed Sep 20, 2023
1 parent 64a338b commit c2201ae
Show file tree
Hide file tree
Showing 4 changed files with 982 additions and 59 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ jobs:

- name: Create a pre-release
run: |
export GITHUB_TOKEN=${{ env.GITHUB_TOKEN }}
nix shell .#curl .#gitAndTools.hub -c bash -c "curl https://raw.githubusercontent.com/serokell/scratch/release-binary/scripts/release-binary.sh | bash"
nix run .#github.autorelease -- "$(nix-build ./release)" "Automatic release on "$(date +\"%Y%m%d%H%M\")""
- name: Push latest image to dockerhub
run: |
export DOCKERHUB_PASSWORD=${{ env.DOCKERHUB_PASSWORD }}
nix build -L .#docker-image
nix shell .#skopeo -c ./scripts/upload-docker-image.sh "docker-archive:$(readlink result)" "docker://docker.io/serokell/xrefcheck:latest"
Loading

0 comments on commit c2201ae

Please sign in to comment.