Skip to content

Commit

Permalink
set permissions after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Feb 28, 2024
1 parent 7119e45 commit 448c645
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ jobs:
-
name: Checkout
uses: actions/checkout@v3
-
name: Upterm
uses: lhotari/action-upterm@v1
-
name: Permissions fixes
run: |
reponame="$(basename ${GITHUB_REPOSITORY})"
target="~/work/${reponame}/${reponame}/build/COPY*"
chmod -R ug+rwX "${target}"
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand Down Expand Up @@ -99,6 +108,12 @@ jobs:
-
name: Checkout
uses: actions/checkout@v3
-
name: Permissions fixes
run: |
reponame="$(basename ${GITHUB_REPOSITORY})"
target="~/work/${reponame}/${reponame}/build/COPY*"
chmod -R ug+rwX "${target}"
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand Down Expand Up @@ -166,6 +181,12 @@ jobs:
-
name: Checkout
uses: actions/checkout@v3
-
name: Permissions fixes
run: |
reponame="$(basename ${GITHUB_REPOSITORY})"
target="~/work/${reponame}/${reponame}/build/COPY*"
chmod -R ug+rwX "${target}"
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand Down

0 comments on commit 448c645

Please sign in to comment.