File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 steps :
1818 -
1919 name : Check out the repo
20- uses : actions/checkout@v3
20+ uses : actions/checkout@v4
2121
2222 -
2323 name : Get Docker Metadata
Original file line number Diff line number Diff line change 7777 replace : " ${{ env.FIREBASE_TOOLS_RELEASE }}"
7878 include : " {Dockerfile,action.yaml}"
7979 regex : false
80-
80+
8181 # - id: set-version
8282 # run: echo "version=${{env.FIREBASE_TOOLS_RELEASE}}" >> "$GITHUB_OUTPUT"
8383
@@ -101,19 +101,19 @@ jobs:
101101 body : " Bump `firebase-tools` to ${{ needs.check-releases.outputs.firebase-tools-release }}"
102102 draft : false
103103 prerelease : false
104-
104+
105105 publish :
106106 name : Docker build & push
107107 needs : bump-version
108108 runs-on : ubuntu-latest
109109 steps :
110- -
110+ -
111111 name : Check out the repo
112- uses : actions/checkout@v3
112+ uses : actions/checkout@v4
113113 with :
114114 ref : ${{ needs.bump-version.outputs.new-version }}
115-
116- -
115+
116+ -
117117 name : Get Docker Metadata
118118 id : meta
119119 uses : docker/metadata-action@v4
@@ -125,14 +125,14 @@ jobs:
125125 w9jds/firebase-action
126126 ghcr.io/${{ github.repository }}
127127
128- -
128+ -
129129 name : Login to Docker Hub
130130 uses : docker/login-action@v2
131131 with :
132132 username : w9jds
133133 password : ${{ secrets.DOCKER_PASSWORD }}
134134
135- -
135+ -
136136 name : Log in to the Container registry
137137 uses : docker/login-action@v2
138138 with :
Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v3
11+ - uses : actions/checkout@v4
1212 - name : Build the Docker image
1313 run : docker build . --file Dockerfile
Original file line number Diff line number Diff line change 1- FROM node:20-buster
1+ FROM node:22-alpine
22
33LABEL version="14.11.0"
44LABEL repository="https://github.com/w9jds/firebase-action"
@@ -10,9 +10,9 @@ LABEL com.github.actions.description="Wraps the firebase-tools CLI to enable com
1010LABEL com.github.actions.icon="package"
1111LABEL com.github.actions.color="gray-dark"
1212
13- RUN apt update && apt-get install --no-install-recommends -y jq openjdk-11- jre && rm -rf /var/lib/apt/lists/*
13+ RUN apk update && apk add --no-cache jq openjdk11- jre
1414
15- RUN npm i -g npm@8. 10.0 && npm cache clean --force
15+ RUN npm i -g npm@10.9.2 && npm cache clean --force
1616RUN npm i -g firebase-tools@14.11.0 && npm cache clean --force
1717
1818COPY LICENSE README.md /
You can’t perform that action at this time.
0 commit comments