Skip to content

Commit

Permalink
Merge branch 'develop' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
gracia10 committed Jul 2, 2023
2 parents e506698 + bd1e05b commit 825aa2a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches: [ test ]

env:
working-directory: silverwork_dbt

jobs:
build:
name: Dockerize dbt
Expand All @@ -33,14 +30,18 @@ jobs:
username: oauth2accesstoken
password: ${{ steps.auth.outputs.access_token }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Get tag
id: get-tag
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/}

- name: Build & Push Image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ${{ github.workspace }}
context: ./silverwork_dbt
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ secrets.DBT_REGISTRY_ENDPOINT }}:${{ steps.get-tag.outputs.short_ref }}
Expand Down
5 changes: 5 additions & 0 deletions silverwork_dbt/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 베이스 이미지 선택
FROM --platform=linux/amd64 python:3.9-slim

# 작업 디렉토리 설정
WORKDIR /app

0 comments on commit 825aa2a

Please sign in to comment.