Skip to content

Commit

Permalink
Fix CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsarm committed Apr 30, 2024
1 parent 7e93199 commit 24356d7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 24356d7

Please sign in to comment.