Skip to content

Commit

Permalink
Use root user for hail reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional committed Aug 22, 2024
1 parent 71559ad commit 86b9ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ permissions:

jobs:
deploy_image_prod:
if: ${{ github.ref_name == 'main' }}
runs-on: ubuntu-latest
environment: production
env:
Expand All @@ -30,7 +31,6 @@ jobs:
IMAGE_TAG: ${{ github.event.inputs.image_tag }}

steps:

- name: "checkout repo"
uses: actions/checkout@v4

Expand Down Expand Up @@ -58,13 +58,13 @@ jobs:
images/$IMAGE_NAME
- name: "Push main branch to core artifactory"
if: ${{ github.ref_name == 'main' }}
run: |
docker tag $DOCKER_IMAGE $DOCKER_MAIN$DOCKER_IMAGE
docker push $DOCKER_MAIN$DOCKER_IMAGE
deploy_image_dev:
runs-on: ubuntu-latest
if: ${{ github.ref_name != 'main' }}
environment: dev
env:
DOCKER_BUILDKIT: 1
Expand All @@ -76,7 +76,6 @@ jobs:
IMAGE_TAG: ${{ github.event.inputs.image_tag }}

steps:

- name: "checkout repo"
uses: actions/checkout@v4

Expand Down
1 change: 0 additions & 1 deletion images/aspera/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ RUN apt update && apt install -y \
bash install.sh --disable-prompts --install-dir=/opt && \
rm -r install.sh /var/lib/apt/lists/* /var/cache/apt/*

USER cliuser
ENV PATH="/opt/google-cloud-sdk/bin:${PATH}"

0 comments on commit 86b9ba5

Please sign in to comment.