Skip to content

Commit

Permalink
chore: ignore version on caches
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelTaranto committed Jun 5, 2024
1 parent 5ac393f commit db2e8e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

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

- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
key: ${{ runner.os }}-buildx-updatetar
restore-keys: |
${{ runner.os }}-buildx-
${{ runner.os }}-buildx-updatetar
- name: Build Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
file: build-scripts/Dockerfile.ci
Expand All @@ -40,7 +40,7 @@ jobs:
docker rm extract_artifact
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: update.tar
path: update.tar
Expand Down
1 change: 1 addition & 0 deletions build-scripts/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FROM lamassu/upboard-build:2.0 as build
curl -sL https://ssubucket.ams3.digitaloceanspaces.com/deploy-files_2019.06.07.txz | xz -dc | tar -x

COPY ["package.json", "package-lock.json", "./lamassu-machine/"]
RUN npm version --allow-same-version --git-tag-version false --commit-hooks false 1.0.0
RUN cd lamassu-machine && npm install
COPY . ./lamassu-machine/

Expand Down

0 comments on commit db2e8e2

Please sign in to comment.