Skip to content

Commit

Permalink
Add user to Docker group in Bastion UI tests action
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Jan 24, 2025
1 parent b006bb4 commit b2b937f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/bastion-ui-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ runs:
sudo yum install -y docker-ce docker-ce-cli containerd.io
sudo systemctl enable docker
sudo systemctl start docker
- name: Add user to Docker group
uses: ./.github/actions/run-command-ssh
with:
NODE: bastion
COMMAND: |
sudo usermod -aG docker $(whoami)
- name: Run Cypress tests in Docker
uses: ./.github/actions/run-command-ssh
with:
Expand Down

0 comments on commit b2b937f

Please sign in to comment.