Skip to content

Commit

Permalink
Rename latest branch (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
noggi authored Dec 13, 2023
1 parent 73c267d commit a819c6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/datahub-actions-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches:
- main
paths:
- 'docker/'
- 'docker/**'
- '.github/workflows/datahub-actions-docker.yml'
paths_ignore:
- 'build/**'
Expand Down
8 changes: 4 additions & 4 deletions docker/datahub-actions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Defining environment
ARG APP_ENV=prod

FROM acryldata/datahub-ingestion-base:latest as prod-install
FROM acryldata/datahub-ingestion-base:head-full as prod-install
COPY datahub-actions /actions-src
RUN mkdir -p /etc/datahub/actions && mkdir -p /tmp/datahub/logs/actions/system
RUN cd /actions-src && \
Expand All @@ -32,9 +32,9 @@ RUN chmod a+x /start_datahub_actions.sh
RUN mkdir -p /etc/datahub/actions/conf && mkdir -p /etc/datahub/actions/system/conf
COPY ./docker/config/*.yaml /etc/datahub/actions/system/conf

RUN addgroup --system datahub && adduser --system datahub --ingroup datahub \
&& chown datahub:datahub /etc/datahub \
&& chown -R datahub:datahub /tmp/datahub
# datahub:datahub is created in datahub-ingestion-base image
RUN chown datahub:datahub /etc/datahub && \
chown -R datahub:datahub /tmp/datahub

# By transferring the root user's pip cache directory to the datahub
# user, we can avoid the need for some redundant dependency downloads.
Expand Down

0 comments on commit a819c6f

Please sign in to comment.