SadeghHayeri / GreenTunnel

GreenTunnel is an anti-censorship utility designed to bypass the DPI system that is put in place by various ISPs to block access to certain websites.
MIT License
4.24k stars 273 forks source link

FIX: Upgrade to docker/build-push-action@v2 #91

Closed aminvakil closed 3 years ago

aminvakil commented 3 years ago

docker/build-push-action@v1 has been deprecated.

The only problem is tag_with_ref: true which is missing in version 2 and should be changed like this: https://github.com/docker/build-push-action/blob/master/UPGRADE.md#tags-with-ref-and-git-labels

I haven't use the methods specified in the link myself, so I have not tested them somewhere.

I'm going to add them when I had more time.

aminvakil commented 3 years ago

This still has got problems, please do not merge.

aminvakil commented 3 years ago

This is working fine now, I have tested it on my own quay and it's working just fine: https://github.com/aminvakil/GreenTunnel/runs/1704438757?check_suite_focus=true https://quay.io/repository/aminvakil/green-tunnel?tab=tags

SadeghHayeri commented 3 years ago

Thanks Amin, I will test and merge it ASAP.