-
-
Notifications
You must be signed in to change notification settings - Fork 358
User Guide (Docker)
Trung Le edited this page Jun 14, 2021
·
29 revisions
- Download DeviceAuthGenerator for EpicGames. Currently only Windows binary is supported. For Mac/Linux user, follow the guide in README.
- Follow the User Guide
- After exporting, you should have a file
device_auths.json
.
Install Docker Desktop on your PC. Make sure Docker is running.
Open CMD/Powershell/Terminal and make sure it is currently in the folder that has device_auths.json
.
For specific version, replace latest
with the version tag that is supported in EFC GithubPackage
Run this command:
docker run --rm -it --volume "%cd%/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest
Run this command:
docker run --rm -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest
This guide is for Mac/Linux, but it is nearly the same for Windows. Alter it a bit if you're using Windows 😄.
You can build an tag it with multiple name:tag
. Below example is building & tagging for Github Package and Dockerhub, assuming we are building for the latest version 1.5.0
.
docker build --rm \
-t ghcr.io/jackblk/epicgames-freebies-claimer:latest \
-t ghcr.io/jackblk/epicgames-freebies-claimer:1.5.0 \
-t jackblk/epicgames-freebies-claimer:latest \
-t jackblk/epicgames-freebies-claimer:1.5.0 \
.
- Github Package Guide
- Docker Hub:
docker login
. More info here: docker login
Push the image with name:tag
that you built earlier.
# Pushing the latest version (1.5.0) to Github Package
docker push ghcr.io/jackblk/epicgames-freebies-claimer:1.5.0
docker push ghcr.io/jackblk/epicgames-freebies-claimer:latest
# Pushing the latest version (1.5.0) to Docker Hub
docker push jackblk/epicgames-freebies-claimer:1.5.0
docker push jackblk/epicgames-freebies-claimer:latest