mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-07 00:23:44 +08:00
🐞 Dockerfile: cunnie/sslip.io-dns-server → 1.2.2
Rather than using Docker Hub's automated build feature (which doesn't seem to work when setting up new repositories), I've opted to manually build & push the images. There are workarounds which might allow me to use GitHub's automated build feature, like creating an organization, moving the repos to the new organization, and creating a 'bot' user to publish the images, but that seems like a lot of work for little gain. fixes: > Fetch source repositories failed. > Connect a GitHub account to cunnie to enable automated builds. If it is already connected, please re-link the source provider.
This commit is contained in:
@@ -53,6 +53,7 @@ dig +short 127-0-0-1.sslip.io # output should be 127.0.0.1
|
||||
git add -p
|
||||
git ci -v -m"Bump sslip.io: $OLD_VERSION → $VERSION"
|
||||
git push
|
||||
popd
|
||||
```
|
||||
Update the webserver with the HTML with new versions:
|
||||
```
|
||||
@@ -63,7 +64,9 @@ exit
|
||||
Update the Dockefile with the new release:
|
||||
```
|
||||
sed -i '' "s~/$OLD_VERSION/~/$VERSION/~g" k8s/Dockerfile-sslip.io-dns-server
|
||||
docker build k8s/ -f k8s/Dockerfile-sslip.io-dns-server -t cunnie/sslip.io-dns-server:$VERSION -t cunnie/sslip.io-dns-server:latest
|
||||
docker push cunnie/sslip.io-dns-server -a
|
||||
git add -p
|
||||
git ci -m"Dockerfile: bump sslip.io-dns-server release"
|
||||
git ci -m"Dockerfile: cunnie/sslip.io-dns-server → $VERSION"
|
||||
git push
|
||||
```
|
||||
|
Reference in New Issue
Block a user