Commit graph

153 commits

Author SHA1 Message Date
Dawid Dziurla
19ce78f0f9
Merge pull request #69 from SebKuzminsky/reassure-recent-gits
tell git to trust the repo
2022-11-08 17:15:58 +01:00
Dawid Dziurla
a681ceddab
main: fix style 2022-11-08 17:14:31 +01:00
7bec10b9ba
Adding a way to enable/disable lintian checks 2022-11-08 17:12:38 +01:00
b43ffb1f6d
Implement lintian support 2022-11-08 17:12:36 +01:00
Sebastian Kuzminsky
512b3e3e44
run git directly, not in a superfluous bash shell
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2022-11-08 09:08:21 -07:00
Sebastian Kuzminsky
0181a8bea4 tell git to trust the repo
Recent versions of git do not like to run as root in repos that are not
owned by root.  This is commonly the situation when a user checks out
a git repo, then runs a docker container with the repo mounted in it.

The version un debian unstable (1:2.38.1-1) has this issue.  The version
in bullseye (1:2.30.2-1) does not have this issue.

git-deborig gives this unhelpful error message:

    $ git deborig HEAD
    pwd doesn't look like a git repository ..

Regular git gives this more useful error message:

    $ git status
    fatal: detected dubious ownership in repository at '/data/home/seb/action-debian-package'
    To add an exception for this directory, call:

            git config --global --add safe.directory /data/home/seb/action-debian-package

This commit fixes the issue by running the recommended command inside
the container, before trying to access the git repo.

Fixes #62.
2022-11-08 08:18:59 -07:00
Dawid Dziurla
2d5606cf18
Merge pull request #67 from SebKuzminsky/fix-dash-t
if "apt-get -t ${imageTag}" fails, try just "apt-get"
2022-11-08 10:06:56 +01:00
Sebastian Kuzminsky
6384d3de32 if "apt-get -t ${imageTag}" fails, try just "apt-get"
This fixes #63.
2022-11-07 15:20:13 -07:00
Dawid Dziurla
ac675aa4f1
Merge pull request #64 from SebKuzminsky/no-dash-t
run apt-get without -t
2022-11-06 16:00:09 +01:00
Sebastian Kuzminsky
dc2c467a7c run apt-get without -t 2022-11-05 12:20:13 -06:00
Dawid Dziurla
535e06bc24
Merge pull request #59 from dawidd6/master
v1.4.2
2022-10-27 10:34:09 +02:00
Dawid Dziurla
3d1ba69630
action: bump to node16 2022-10-27 10:27:49 +02:00
Dawid Dziurla
459a37aa01
node_modules: upgrade 2022-10-27 10:26:28 +02:00
Dawid Dziurla
b755e71a2c
main: wrap in group 2022-10-27 10:11:20 +02:00
Dawid Dziurla
aa962d1346
main: adjust to older skopeo 2022-10-27 10:01:46 +02:00
Dawid Dziurla
685396f0fc
main: use skopeo for determining image 2022-10-27 09:58:09 +02:00
dependabot[bot]
ccc13d96dd
build(deps): bump follow-redirects from 1.14.3 to 1.14.8 (#43)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.3 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.3...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 09:01:02 +02:00
dependabot[bot]
1cf46f1648
build(deps): bump @actions/exec from 1.0.4 to 1.1.1 (#45)
Bumps [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) from 1.0.4 to 1.1.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/@actions/tool-cache@1.1.1/packages/exec)

---
updated-dependencies:
- dependency-name: "@actions/exec"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 09:00:53 +02:00
Enno Rehling
14217920f9
replace missing qemu 5.2 with 6.2 (#58) 2022-10-27 09:00:28 +02:00
dependabot[bot]
806c895f2e
build(deps): bump docker-hub-utils from 1.10.40 to 1.10.43 (#40)
Bumps [docker-hub-utils](https://github.com/jessestuart/docker-hub-utils) from 1.10.40 to 1.10.43.
- [Release notes](https://github.com/jessestuart/docker-hub-utils/releases)
- [Changelog](https://github.com/jessestuart/docker-hub-utils/blob/master/release.config.js)
- [Commits](https://github.com/jessestuart/docker-hub-utils/compare/v1.10.40...v1.10.43)

---
updated-dependencies:
- dependency-name: docker-hub-utils
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-11 09:37:33 +02:00
Dawid Dziurla
5528e071b0
action: specify example arches 2021-07-10 00:45:29 +02:00
Dawid Dziurla
6093a4f354
workflows: swap arches 2021-07-10 00:27:18 +02:00
Dawid Dziurla
0facd33752
main: print arch 2021-07-10 00:22:23 +02:00
Dawid Dziurla
12d41760b1
workflows: test arm 2021-07-10 00:21:13 +02:00
Dawid Dziurla
52f100e4bd
README: mention arch 2021-07-10 00:12:59 +02:00
Dawid Dziurla
d959ecc623
Support building for other architectures (#36) 2021-07-10 00:11:23 +02:00
Dawid Dziurla
3c531250ab
main: use git-deborig (#37) 2021-07-10 00:10:09 +02:00
Nicolai Antiferov
fb3670aed9
Add optional os_distribution parameter (#29)
* Add optional os_distribution parameter

Fixes #28

Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-07-09 23:54:49 +02:00
Dawid Dziurla
5513f52a10
Merge pull request #32 from dawidd6/dependabot-npm_and_yarn-docker-hub-utils-1.10.40
build(deps): bump docker-hub-utils from 1.10.39 to 1.10.40
2021-05-17 09:41:06 +02:00
dependabot[bot]
6a29c85800
build(deps): bump docker-hub-utils from 1.10.39 to 1.10.40
Bumps [docker-hub-utils](https://github.com/jessestuart/docker-hub-utils) from 1.10.39 to 1.10.40.
- [Release notes](https://github.com/jessestuart/docker-hub-utils/releases)
- [Changelog](https://github.com/jessestuart/docker-hub-utils/blob/master/release.config.js)
- [Commits](https://github.com/jessestuart/docker-hub-utils/compare/v1.10.39...v1.10.40)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 04:14:28 +00:00
Dawid Dziurla
729ad4bec8
Merge pull request #30 from dawidd6/dependabot-add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-29 23:44:54 +02:00
dependabot-preview[bot]
ba9b6eed72
Upgrade to GitHub-native Dependabot 2021-04-29 15:35:45 +00:00
Dawid Dziurla
0726b13112
workflows: switch to dropbear 2021-04-27 09:57:08 +02:00
Dawid Dziurla
2a909ab301
workflows: test cron 2021-04-27 08:19:43 +02:00
Dawid Dziurla
e0757bc0f5
workflows: test grep 2021-04-27 07:58:01 +02:00
Dawid Dziurla
4eca24bf27
README: rearrange comments 2021-04-27 07:48:55 +02:00
Dawid Dziurla
58ba385a40
Merge pull request #27 from nantiferov/fix-ubuntu-trusty
Disable build dependencies install on Ubuntu 14.04 (trusty)
2021-04-27 07:47:04 +02:00
Nicolai Antiferov
41f4c45749 Disable build dependencies install on Ubuntu 14.04 (trusty)
Fixes #26
2021-04-26 23:01:13 +03:00
Dawid Dziurla
ac073bbc8f
Merge pull request #25 from dawidd6/dependabot-npm_and_yarn-actions-core-1.2.7
build(deps): bump @actions/core from 1.2.6 to 1.2.7
2021-04-14 09:15:12 +02:00
dependabot-preview[bot]
d728002994
build(deps): bump @actions/core from 1.2.6 to 1.2.7
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-14 05:08:22 +00:00
Dawid Dziurla
9bf251641c
Merge pull request #24 from waja/fix_build_artifacts_move
Fix build artifacts move
2021-03-11 15:21:18 +01:00
087b55ca0a Fix build artifacts move
As you can build multiple binary packages from one source package, those
don't need to have the same name. You can even build only one binary
package which has a completely different name.
The saves way is to match on the package version number.
2021-03-11 14:33:45 +01:00
Dawid Dziurla
d9aa273ced
Merge pull request #23 from dawidd6/dependabot-npm_and_yarn-docker-hub-utils-1.10.39
build(deps): bump docker-hub-utils from 1.10.37 to 1.10.39
2021-02-15 11:07:41 +01:00
dependabot-preview[bot]
96e018ac87
build(deps): bump docker-hub-utils from 1.10.37 to 1.10.39
Bumps [docker-hub-utils](https://github.com/jessestuart/docker-hub-utils) from 1.10.37 to 1.10.39.
- [Release notes](https://github.com/jessestuart/docker-hub-utils/releases)
- [Changelog](https://github.com/jessestuart/docker-hub-utils/blob/master/release.config.js)
- [Commits](https://github.com/jessestuart/docker-hub-utils/compare/v1.10.37...v1.10.39)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 05:08:36 +00:00
Dawid Dziurla
c8bb3a8097
main: remove -tc flag from dpkg-buildpackage 2021-01-02 23:27:33 +01:00
Dawid Dziurla
0db3597f3e
main: remove debug exec 2020-12-26 18:32:45 +01:00
Dawid Dziurla
d5f27fec3a
main: fix 2020-12-26 18:15:06 +01:00
Dawid Dziurla
48ebbf1c81
main: attempt to fix 2020-12-26 18:12:27 +01:00
Dawid Dziurla
e5356aca21
main: debug 2020-12-26 18:08:49 +01:00
Dawid Dziurla
6d3065e17e
main: fix exec syntax 2020-12-26 18:00:53 +01:00