We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48bbaf3 commit a401e30Copy full SHA for a401e30
2 files changed
Dockerfile
@@ -1,6 +1,10 @@
1
FROM bycedric/ci-expo:2
2
3
LABEL com.github.actions.name="Expo CLI (unofficial)"
4
-LABEL com.github.actions.description="Use any Expo command in your GitHub Actions workflow."
+LABEL com.github.actions.description="Use any Expo CLI command in your GitHub Actions workflow."
5
LABEL com.github.actions.icon="terminal"
6
LABEL com.github.actions.color="gray-dark"
7
+
8
+COPY entrypoint.sh LICENSE.md README.md /
9
10
+entrypoint ["/entrypoint.sh"]
entrypoint.sh
@@ -0,0 +1,11 @@
+#!/bin/sh -l
+set -e
+if [ -n "$EXPO_USERNAME" ] && [ -n "$EXPO_PASSWORD" ]; then
+ expo login --username $EXPO_USERNAME --password $EXPO_PASSWORD
+else
+ echo 'Skipping Expo login, username and/or password not defined...'
+fi
11
+sh -c "expo $*"
0 commit comments