Skip to content

Commit

Permalink
chore(cicd): Debug image build and deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
nezort11 committed Jan 4, 2025
1 parent e03db7d commit e1c7955
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:

- name: Build, tag, and push image to Yandex Cloud Container Registry
# env:
# CR_REGISTRY: ${{ env.REGISTRY_ID }}
# CR_REPOSITORY: ${{ env.CONTAINER_NAME }}
# CR_REGISTRY: ${{ vars.REGISTRY_ID }}
# CR_REPOSITORY: ${{ vars.CONTAINER_NAME }}
# IMAGE_TAG: ${{ github.sha }}
run: |
echo "REGISTRY_ID: '${{ env.REGISTRY_ID }}'"
echo "CONTAINER_NAME: '${{ env.CONTAINER_NAME }}'"
echo "REGISTRY_ID: '${{ vars.REGISTRY_ID }}'"
echo "CONTAINER_NAME: '${{ vars.CONTAINER_NAME }}'"
IMAGE_NAME="cr.yandex/${{ env.REGISTRY_ID }}/${{ env.CONTAINER_NAME }}:${{ github.sha }}"
IMAGE_NAME="cr.yandex/${{ vars.REGISTRY_ID }}/${{ vars.CONTAINER_NAME }}:${{ github.sha }}"
docker build -t $IMAGE_NAME .
docker push $IMAGE_NAME
Expand Down

0 comments on commit e1c7955

Please sign in to comment.