ericcornelissen/js-regex-security-scanner

Automate releases to Docker Hub

Closed this issue · 2 comments

Automate releases to Docker Hub

The automation implemented in #41 was unfortunately incorrect (release v0.2.2 has been released manually). The validations job can't succeed because when the code is checked out submodules aren't included - leading to the shescape (v1.5.9) test failing.

Like the test.yml::test job, the validation job should use the submodule option of the checkout action:

       - name: Checkout Code
         uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
+        with:
+          submodules: true

EDIT: Updated in b0cc15f

The automated release for v0.2.3 (following #73) successfully released to Docker hub, but failed to automatically update the v0 branch. (This is likely due to missing contents: write permissions.)

As this issue is about automatically releasing to Docker Hub only, I'm closing this issue.