Skip to content

Temporary Epic authentication with a private access token. #3

Temporary Epic authentication with a private access token.

Temporary Epic authentication with a private access token. #3

Workflow file for this run

name: 🐳🐳🐳 Build and publish docker image 🐳🐳🐳
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build Docker Image for Unreal Engine ${{ matrix.unreal.version }}
strategy:
fail-fast: false
matrix:
unreal:
- { version: "ue-5.2" }
coverage:
- false
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- name: Authenticate with Epic
run: echo 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 | docker login ghcr.io -u daniellewinskiQED --password-stdin
- name: Set up Git repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Github Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/readycodeio/readycode-docker-builder-ue/editor:${{ matrix.unreal.version }}
file: Dockerfile-${{ matrix.unreal.version }}