mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
Merge pull request #4292 from black-river-software/black-river-software/docker-tag-latest
build: tag docker image as "latest"
This commit is contained in:
commit
72834a6ad2
6
.github/workflows/release-docker.yml
vendored
6
.github/workflows/release-docker.yml
vendored
@ -40,4 +40,8 @@ jobs:
|
||||
|
||||
- run: |
|
||||
version="$(cat ./pkg/urbit/version)"
|
||||
$(nix-build -A skopeo)/bin/skopeo --insecure-policy copy tarball:$(nix-build -A docker-image) docker://${{ secrets.DOCKERHUB_USERNAME }}/urbit:v$version
|
||||
skopeo="$(nix-build -A skopeo)/bin/skopeo"
|
||||
image="$(nix-build -A docker-image)"
|
||||
$skopeo --insecure-policy copy tarball:$docker docker://${{ secrets.DOCKERHUB_USERNAME }}/urbit:v$version
|
||||
# Apply 'latest' tag. This won't re-copy any layers since layers are checked by hash before copying
|
||||
$skopeo --insecure-policy copy tarball:$docker docker://${{ secrets.DOCKERHUB_USERNAME }}/urbit:latest
|
||||
|
Loading…
Reference in New Issue
Block a user