Commit Graph

19 Commits

Author SHA1 Message Date
Darragh Bailey
87131a171f Ensure buildah job checks out pull request changes (#1656)
With the change to using pull_request_target, need to ensure the buildah
job also checks out the PR contents.
2022-11-03 18:20:44 +00:00
Darragh Bailey
1ff551e1a5 Fix docker image workflow syntax issue (#1655) 2022-11-03 17:32:10 +00:00
Darragh Bailey
7697d03323 Ensure reusable workflow reference correctly (#1654)
Reference the main branch for where to find the reusable workflow.
Additionally make sure that login to docker hub is only for push to
main and tags.
2022-11-03 16:58:09 +01:00
Darragh Bailey
b709758c00 Publish docker image to github packages for PRs (#1646)
Publish images built from PRs to the github container registry to
provide a
simple way to test changes made by being able to pull the built
container.
2022-11-03 14:49:55 +00:00
Dan Čermák
309f78c8fd [Dockerfile] Fix creation of plugins.json with buildah (#1602)
Multi-line RUN instructions are unsupported by default docker (works 
with buildkit) and buildah, instead one has to use other tricks like 
ANSI-C quoting for the shell via \n\ and multiple echo commands.

Includes a buildah github workflow to help ensure future
compatibility.
2022-09-22 16:42:58 +01:00
dependabot[bot]
deb2b0a923 Bump docker/setup-buildx-action from 1 to 2 (#1596) 2022-09-12 14:25:32 +00:00
dependabot[bot]
6775bf81b6 Bump actions/cache from 2 to 3 (#1595) 2022-09-12 14:15:41 +00:00
dependabot[bot]
cf2ffa3d26 Bump docker/build-push-action from 2 to 3 (#1593) 2022-09-12 14:03:38 +00:00
dependabot[bot]
f46cd70144 Bump actions/checkout from 2 to 3 (#1589) 2022-09-08 18:41:24 +00:00
dependabot[bot]
5412b0638c Bump docker/setup-qemu-action from 1 to 2 (#1588) 2022-09-08 18:29:39 +00:00
dependabot[bot]
48f164e67d Bump docker/login-action from 1 to 2 (#1587) 2022-09-08 17:34:28 +00:00
Darragh Bailey
602b4e9ad8 Replace remaining stray references with main (#1582)
Ensure default branch has been fully updated everywhere to main, which
should fix the running of the unit and integration tests on the main
branch.
2022-09-07 10:50:28 +00:00
a1346054
af77b859e3 Trim trailing whitespace 2022-08-08 22:46:07 +00:00
Darragh Bailey
192eefcfbf Default to build and publish extendible image (#1246)
Switch to publishing the image containing all of the libraries and build
dependencies needed to support the plugin being reinstalled as that is
the default behaviour when vagrant installs a new plugin.

This should allow the default image to be extended with additional
plugins and if needed, the authors of the new image may follow and use
the slim version as a base to provide a reduced size docker image.

Fixes: #1198
2021-06-25 19:28:17 +01:00
Darragh Bailey
bb2b022d3f Ensure github actions run on merge to main branch (#1207)
Remove missed debug line from unit test workflow.
2021-02-20 15:33:15 +00:00
Darragh Bailey
b657f7c709 Use github cache for docker layers (#1164)
Cache the build layers between github action builds to reduce time
required.
2020-10-27 10:09:49 +00:00
Darragh Bailey
4adc24b8e6 Ensure docker image build has history for version resolving (#1162)
With the switch to using git to resolve the version it's necessary to
ensure the history is available in the clone during the github action.

Add the `context: .` setting to work around a bug in the docker github
action. Based on docker/build-push-action#162
2020-10-27 09:55:08 +00:00
Darragh Bailey
e5c50de3c2 Limit docker image push (#1152)
Tweak workflow to skip attempting to push the docker image without
credentials additionally modify to allow the dockerhub organization to
be managed via a secret so that forked repos may push locally modified
images to their own dockerhub with a minimum of effort.

Additionally given the way github status checks works, this should allow
maintainers of this project to push the same commit to a local branch in
order to build and publish the image to the org dockerhub repository to
allow testing of the image before merging. Based on having first
reviewed and decided it was safe to allow access to any secrets.

Pushing the PR to a local branch will not result in getting a tag with the
pr<num> as the version, however this is a reasonable starting position.
2020-10-04 12:22:23 +01:00
Darragh Bailey
6a9e604e45 Support release notes generation (#1150)
Add github actions to automatically populate release notes on tag push.
This should make it easier to show what new functionality/improvements
have been added by populating the release page based on PRs and issues.
2020-10-03 20:52:31 +01:00