This commit is contained in:
parent
203afb3ed4
commit
b6691214aa
1 changed files with 4 additions and 4 deletions
|
@ -17,8 +17,8 @@ jobs:
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: "nix --extra-experimental-features 'nix-command,flakes' build .#docker"
|
run: "nix --extra-experimental-features 'nix-command,flakes' build .#docker"
|
||||||
- name: Log into registry
|
- name: Log into registry
|
||||||
run: "nix run nixpkgs#crane -- auth login git.ashhhleyyy.dev -u ${{github.actor}} -p ${{secrets.GITHUB_TOKEN}}"
|
run: "nix shell nixpkgs#crane --command crane auth login git.ashhhleyyy.dev -u ${{github.actor}} -p ${{secrets.GITHUB_TOKEN}}"
|
||||||
- name: Push image (latest)
|
- name: Push image (latest)
|
||||||
run: "nix run nixpkgs#crane -- push result git.ashhhleyyy.dev/ash/aci:latest"
|
run: "nix shell nixpkgs#crane --command crane push result git.ashhhleyyy.dev/ash/aci:latest"
|
||||||
- nam: Push image
|
- name: Push image
|
||||||
run: "nix run nixpkgs#crane -- push result git.ashhhleyyy.dev/ash/aci:${{github.sha}}"
|
run: "nix shell nixpkgs#crane --command crane push result git.ashhhleyyy.dev/ash/aci:${{github.sha}}"
|
||||||
|
|
Loading…
Reference in a new issue