Skip to content

Commit

Permalink
ci: remove cache step
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana authored Aug 31, 2022
1 parent 271b985 commit cfef770
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,17 @@ jobs:
build:
runs-on: self-hosted
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
-
name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
-
- name: Docker Hub Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Build and push
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
Expand All @@ -44,6 +33,5 @@ jobs:
nikhilnarayana/devkitpro-slippi:${{github.ref_name}}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
-
name: Image digest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit cfef770

Please sign in to comment.