diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1ca5f80..d92ecd9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to Docker Hub uses: docker/login-action@v3 @@ -35,7 +35,6 @@ jobs: run: docker run --rm -e PROCESS_TYPE=test --name django-coleman "mrsarm/django-coleman:$TAG" - name: Release Docker image - if: ${{ github.ref != 'refs/heads/master' }} run: docker push "mrsarm/django-coleman:$TAG" - name: Get compose.yaml @@ -54,15 +53,11 @@ jobs: - name: Setup environment variables run: cp .env.example .env - - name: Build compose file for CI with pose + - name: Build compose file for CI if: ${{ github.ref != 'refs/heads/master' }} run: | ./pose --no-docker config --tag $TAG --tag-filter regex=mrsarm/ --progress -o ci.yaml - - name: Create compose file for CI without pose - if: ${{ github.ref == 'refs/heads/master' }} - run: cp compose.yaml ci.yaml - - name: Pull images run: docker compose -f ci.yaml pull && docker compose -f ci.yaml pull dcoleman-e2e # services with profiles are not pulled by default