File tree 4 files changed +990
-67
lines changed
4 files changed +990
-67
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,13 @@ jobs:
16
16
- uses : actions/checkout@v3
17
17
18
18
- name : Create a pre-release
19
+ env :
20
+ OVERWRITE_RELEASE : true
21
+ # https://github.com/serokell/serokell.nix/blob/c1e2a33040438443c7721523e897db5e32a52a74/overlay/github.nix#L26
19
22
run : |
20
- export GITHUB_TOKEN=${{ env.GITHUB_TOKEN }}
21
- nix shell .#curl .#gitAndTools.hub -c bash -c "curl https://raw.githubusercontent.com/serokell/scratch/release-binary/scripts/release-binary.sh | bash"
23
+ nix run .#github.autorelease -- "$(nix-build ./release)" "Automatic release on "$(date +\"%Y%m%d%H%M\")""
22
24
23
25
- name : Push latest image to dockerhub
24
26
run : |
25
- export DOCKERHUB_PASSWORD=${{ env.DOCKERHUB_PASSWORD }}
26
27
nix build -L .#docker-image
27
28
nix shell .#skopeo -c ./scripts/upload-docker-image.sh "docker-archive:$(readlink result)" "docker://docker.io/serokell/xrefcheck:latest"
You can’t perform that action at this time.
0 commit comments