update
Some checks failed
Setup Docker Action / setup_docker (3.12.7) (push) Failing after 19s

This commit is contained in:
hoangvv 2025-01-14 14:54:41 +07:00
parent 6536ed27ba
commit 04d78cb7d1

View File

@ -16,18 +16,15 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: ${{ github.ref_name }} ref: ${{ github.ref_name }}
# - name: Clean up Virtual Environment - name: Clean up Virtual Environment
# run: ./setup/clean_up_virtualenvs.sh 0 run: ./setup/clean_up_virtualenvs.sh 0
# - name: Create Virtual Environment - name: Create Virtual Environment
# run: pyenv virtualenv "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")" run: pyenv virtualenv "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
- name: Fix Permissons - name: Activate Virtual Environment
run: | run: pyenv activate "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
sudo chown -R $(whoami):$(whoami) ~/.cache && \
sudo chmod -R 755 ~/.cache
- name: Install dotenv - name: Install dotenv
run: pip install python-dotenv run: pip install python-dotenv
- name: Update Tag - name: Update Tag
run: make update_tag CURR_BRANCH=${{ github.ref_name }} run: make update_tag CURR_BRANCH=${{ github.ref_name }}
@ -45,16 +42,16 @@ jobs:
- name: Sleep for 30 seconds - name: Sleep for 30 seconds
run: sleep 300s run: sleep 300s
# - name: Restore Database - name: Restore Database
# run: make restore_database run: make restore_database
# - name: Run Tests - name: Run Tests
# run: make run_test_docker run: make run_test_docker
# - name: Login Docker hub - name: Login Docker hub
# run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin ${{ secrets.DOCKER_HUB }} run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin ${{ secrets.DOCKER_HUB }}
# - name: Push Image - name: Push Image
# run: make push_image run: make push_image
# - name: Clean Up - name: Clean Up
# run: make clean_up run: make clean_up