Skip to content

Commit

Permalink
byebye circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Dec 5, 2020
1 parent 20f881d commit c2ffa0d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 46 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
18 changes: 10 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ jobs:
run: docker-compose pull
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
install: true
# - name: Cache Docker layers
# uses: actions/cache@v2
# with:
# path: /tmp/.buildx-cache
# key: ${{ runner.os }}-buildx-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-buildx-
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand All @@ -37,8 +39,8 @@ jobs:
file: ./Dockerfile
push: true
tags: ${{ secrets.HUB_USERNAME }}/${{ env.DOCKER_TAG }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
# cache-from: type=local,src=/tmp/.buildx-cache
# cache-to: type=local,dest=/tmp/.buildx-cache
- name: Docker-compose up
run: docker-compose -f docker-compose.yaml up -d
- name: Execute tests
Expand Down

0 comments on commit c2ffa0d

Please sign in to comment.