Skip to content

Commit

Permalink
ghcr test with caching
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaffey committed May 5, 2024
1 parent 52351cf commit 8512990
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/docker_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:

steps:

# - name: Checkout
# uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -28,10 +25,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: check files
run: |
ls
- name: Build and push
uses: docker/build-push-action@v5
env:
Expand All @@ -42,6 +35,8 @@ jobs:
context: "{{defaultContext}}:backend"
file: ./Dockerfile
tags: ghcr.io/${{ github.repository }}/backend:v9.9.10
cache-from: type=gha
cache-to: type=gha,mode=max

# lint-backend-code:
# name: Lint and test backend python code
Expand Down

0 comments on commit 8512990

Please sign in to comment.