ci: fix docker image upload
This commit is contained in:
parent
1cedc4383f
commit
a1e0139f48
1 changed files with 3 additions and 3 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
@ -28,11 +28,11 @@ jobs:
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- run: nix --experimental-features 'nix-command flakes' build .#dockerImage -L
|
- run: nix --experimental-features 'nix-command flakes' build .#dockerImage -L
|
||||||
- run: docker load -i ./result
|
- run: docker load -i ./result
|
||||||
- run: docker tag pad-archiver ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
- run: docker tag pad-archiver ${{ env.IMAGE_NAME }}
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
- run: docker push ${{ env.IMAGE_NAME }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue