Skip to content

Commit

Permalink
build(test): changed config
Browse files Browse the repository at this point in the history
  • Loading branch information
m62624 committed Aug 18, 2023
1 parent 498c9fe commit 9667999
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
- name: Log in to `GitHub Docker Registry`
run: echo ${{ secrets.PAT_GITHUB }} | docker login ghcr.io -u ${{ secrets.NAME_LOGIN }} --password-stdin
# Шаг для сборки и пуша образа (используем кэш прошлой сборки)
- name: Build Image (dependencies)
run: |
docker pull ${{ env.IMAGE_DOCKER }} && \
docker build -t ${{ env.IMAGE_DOCKER }} . \
&& docker push ${{ env.IMAGE_DOCKER }}
- name: Pull Image
run: docker pull ${{ env.IMAGE_DOCKER }}
- name: Build Image
run: docker build -t ${{ env.IMAGE_DOCKER }} .
- name: Push Image
run: docker push ${{ env.IMAGE_DOCKER }}
# Job для проверки кода линтером
linter-check-all-versions:
needs: build-image
Expand Down

0 comments on commit 9667999

Please sign in to comment.