Commit Graph

4 Commits

Author SHA1 Message Date
James712346 7d38483860 Added `-w 0` to base64 command for credientals produce a base64 value larger than 76 charters (#25)
If a username, and password that produces a base64 value larger than 76 characters, base64 will add \n to the output to wrap the text. The \n is then moved to the ~/.docker/config.json, that would break build image step producing the error of
```
WARNING: Error loading config file: /root/.docker/config.json: invalid character '\n' in string literal
```

Reviewed-on: https://gitea.com/gitea/test-env/pulls/25
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: James712346 <james712346@noreply.gitea.io>
Co-committed-by: James712346 <james712346@noreply.gitea.io>
2023-05-03 22:23:00 +08:00
Zettat123 7e0fd677a1 Fix build-publish workflow failure (#24)
Related to [this job failure](https://gitea.com/gitea/test-env/actions/runs/28/jobs/2)

See https://gitea.com/gitea/act_runner/issues/119#issuecomment-738294

Reviewed-on: https://gitea.com/gitea/test-env/pulls/24
Reviewed-by: Jason Song <i@wolfogre.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
2023-04-28 21:49:08 +08:00
harryzcy ce003171ea Bump golangci-lint and git version (#21)
This should also fix the CI issue in gitea main repo.

Co-authored-by: harryzcy <harry@harryzheng.com>
Reviewed-on: https://gitea.com/gitea/test-env/pulls/21
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: harryzcy <harryzcy@noreply.gitea.io>
Co-committed-by: harryzcy <harryzcy@noreply.gitea.io>
2023-04-06 20:36:14 +08:00
techknowlogick 9d5f2f3e1a Use Gitea Actions to build image (#20)
This also enhances the image to use build arguments so that multiple versions of go can be used.

Reviewed-on: https://gitea.com/gitea/test-env/pulls/20
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2023-03-14 15:51:28 +08:00