Skip to content

Commit

Permalink
Merge pull request #6 from uche-madu/dev
Browse files Browse the repository at this point in the history
fix workflow env variable name
  • Loading branch information
uche-madu authored Sep 30, 2023
2 parents e293e97 + 0f9865e commit 7672e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/retag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- name: Retag Docker Image
run: |
echo "SHORT_SHA=${GITHUB_SHA::8}" >> $GITHUB_ENV
SHORT_SHA=${GITHUB_SHA::8}
docker pull "$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$FEATURE_BRANCH_NAME"
docker tag "$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$FEATURE_BRANCH_NAME" "$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$SHORT_SHA"
docker push "$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$SHORT_SHA"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WORKDIR /usr/local/airflow
COPY requirements.txt .

# Install dbt into a virtual environment for use in ExternalPythonOperator
# The sed command allows pip to avoid running with --user flag in virtual environment
# The sed command allows pip to avoid running with --user flag in the virtual environment
RUN python -m venv dbt_venv && \
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/' dbt_venv/pyvenv.cfg && \
. dbt_venv/bin/activate && \
Expand Down

0 comments on commit 7672e5a

Please sign in to comment.