CI: disable Docker caching

This commit is contained in:
Jesse Chan
2020-12-14 21:20:57 +08:00
parent 341630856b
commit d9d9dc2bb1
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -63,18 +63,19 @@ jobs:
git config --local user.name "github-actions[bot]"
npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD`
- name: Publish jesec/flood to Docker Hub
- name: Publish flood to Docker Hub
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
no-cache: true
tags: jesec/flood:master
- run: sleep 10
- name: Publish jesec/rtorrent-flood to Docker Hub
- name: Publish rtorrent-flood to Docker Hub
uses: docker/build-push-action@v2
with:
context: .
-1
View File
@@ -28,7 +28,6 @@ RUN npm pack
FROM ${NODE_IMAGE} as flood
# Copy package built
RUN rm -rf /tmp/*
COPY --from=nodebuild /usr/src/app/*.tgz /tmp/
# Install package and then remove caches