Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.6 KB

File metadata and controls

65 lines (45 loc) · 1.6 KB

Tagging

Push all changes:

git commit -a
git push

After pushing the last commit, add a local tag (shall be added AFTER the commit that needs to rebuild the exe):

git tag # list local tags
git tag v2.1.3

Push this tag to the origin, which starts the rebuild workflow (GitHub Action):

git push origin v2.1.3
git ls-remote --tags https://github.com/Ircama/epson_print_conf # list remote tags

Check the published tag here: https://github.com/Ircama/epson_print_conf/tags

It shall be even with the last commit.

Check the GitHub Action: https://github.com/Ircama/epson_print_conf/actions

Updating the same tag (using a different build number for publishing)

git tag # list tags
git tag -d epson_print_conf # remove local tag
git push --delete origin epson_print_conf # remove remote tag
git ls-remote --tags https://github.com/Ircama/epson_print_conf # list remote tags

Then follow the tagging procedure again to add the tag to the latest commit.

Testing the docker container

rm -rf epson_print_conf
git clone https://github.com/Ircama/epson_print_conf
cd epson_print_conf

sudo docker stop epson_print_conf
sudo docker container prune
sudo docker build -t epson_print_conf .
sudo docker run --name epson_print_conf -p 5990:5990 epson_print_conf

Use VNC to test it at port :90.

Pushing the docker container

This is a long running operation, that takes almost an hour.

sudo docker login
sudo docker buildx build --platform linux/amd64,linux/arm64 -t ircama/epson_print_conf --push .

sudo docker run --publish 5990:5990 ircama/epson_print_conf