git tag -fa v1 -m "Update v1 tag"
git push origin v1 --force
Build image:
docker build -t "bloaty" docker-bloaty
Run image:
docker run --rm bloaty --help
docker run --rm -v $(pwd):/home test-elf-files/example-after.elf -d compileunits -n 30 -s vm
Publish image:
docker login ghcr.io -u <your_username>
docker images
docker tag IMAGE_ID ghcr.io/carlosperate/bloaty:VERSION
docker push ghcr.io/carlosperate/bloaty:VERSION
docker tag IMAGE_ID ghcr.io/carlosperate/bloaty:latest
docker push ghcr.io/carlosperate/bloaty:latest
git tag -a docker_bloaty_v<version> -m "v<version> release of the bloaty Docker image"
git push origin --tags
Build image, from the project root directory:
docker build -t "bloaty-action" docker-action
Run image:
docker run --rm bloaty-action --help
docker run --rm -v $(pwd):/home bloaty-action test-elf-files/example-after.elf
Publish image:
docker login ghcr.io -u <your_username>
docker images
docker tag IMAGE_ID ghcr.io/carlosperate/bloaty-action:VERSION
docker push ghcr.io/carlosperate/bloaty-action:VERSION
docker tag IMAGE_ID ghcr.io/carlosperate/bloaty-action:latest
docker push ghcr.io/carlosperate/bloaty-action:latest
git tag -a docker_action_v<version> -m "v<version> release of the bloaty-action Docker image"
git push origin --tags