Skip to content

Commit

Permalink
Locks shinesolutions/aem-platform-buildenv image to v4.0.1; Explicitl…
Browse files Browse the repository at this point in the history
…y set ownership of github workspace directory. This is because release builds were failing with error 'detected dubious ownership'
  • Loading branch information
matthew-d committed Dec 12, 2024
1 parent 87f0178 commit 85dc81a
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/ci-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM shinesolutions/aem-platform-buildenv:latest
FROM shinesolutions/aem-platform-buildenv:4.0.1
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion .github/actions/publish-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM shinesolutions/aem-platform-buildenv:latest
FROM shinesolutions/aem-platform-buildenv:4.0.1
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh", "$PUPPETFORGE_TOKEN"]
3 changes: 2 additions & 1 deletion .github/actions/publish-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
make clean deps lint package
make publish "forge_token=${PUPPETFORGE_TOKEN}"
chown -R root:root /github/workspace
make publish "forge_token=${PUPPETFORGE_TOKEN}"
2 changes: 1 addition & 1 deletion .github/actions/release-major-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM shinesolutions/aem-platform-buildenv:latest
FROM shinesolutions/aem-platform-buildenv:4.0.1
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion .github/actions/release-major-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Open Source"
make release-major
chown -R root:root /github/workspace
make release-major
2 changes: 1 addition & 1 deletion .github/actions/release-minor-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM shinesolutions/aem-platform-buildenv:latest
FROM shinesolutions/aem-platform-buildenv:4.0.1
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion .github/actions/release-minor-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Open Source"
make release-minor
chown -R root:root /github/workspace
make release-minor
2 changes: 1 addition & 1 deletion .github/actions/release-patch-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM shinesolutions/aem-platform-buildenv:latest
FROM shinesolutions/aem-platform-buildenv:4.0.1
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion .github/actions/release-patch-action/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
git config --global user.email "[email protected]"
git config --global user.name "Shine Open Source"
make release-patch
chown -R root:root /github/workspace
make release-patch
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added new AEM profile: aem65_sp22

### Changed
- Lock aem-platform-buildenv to 4.0.1
- Explicitly set ownership of github workspace directory

## [3.44.0] - 2024-08-11
### Added
- Added new AEM profile: aem65_sp17
Expand Down

0 comments on commit 85dc81a

Please sign in to comment.