Skip to content

Commit

Permalink
ci: improved dockerfile and docker action
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriziocarella committed Jan 10, 2025
1 parent 3844156 commit c78876c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
build-args: |
APP_VERSION=${{ github.ref_name }}
# update:
# runs-on: ubuntu-latest
# needs: [build]
# steps:
# - name: Trigger deployment via HTTP callback
# run: |
# curl -H "Authorization: Bearer ${{ secrets.WATCHTOWER_HTTP_API_TOKEN }}" "https://registry.mauriziocarella.it/update?image=registry.mauriziocarella.it/mauriziocarella.it"
update:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Trigger deployment via HTTP callback
run: |
curl -H "Authorization: Bearer ${{ secrets.WATCHTOWER_HTTP_API_TOKEN }}" "https://registry.mauriziocarella.it/update?image=registry.mauriziocarella.it/beam"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker.io/docker/dockerfile:1

FROM node:22-alpine AS base
FROM --platform=$BUILDPLATFORM node:22-alpine AS base

# Install dependencies only when needed
FROM base AS deps
Expand Down

0 comments on commit c78876c

Please sign in to comment.