Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Librephotos Docker Scaling
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dev Ops
Librephotos Docker Scaling
Commits
42a41ba1
Unverified
Commit
42a41ba1
authored
3 years ago
by
Niaz Faridani-Rad
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add workflow
parent
83db5c8d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/dlib-builder.yml
+48
-0
48 additions, 0 deletions
.github/workflows/dlib-builder.yml
with
48 additions
and
0 deletions
.github/workflows/dlib-builder.yml
0 → 100644
+
48
−
0
View file @
42a41ba1
# This is a basic workflow to help you get started with Actions
name
:
Build dlib dependency
# Controls when the workflow will run
on
:
# Triggers the workflow on push or pull request events but only for the main branch
push
:
# Publish `dev` as Docker `latest` image.
branches
:
-
main
paths
:
-
'
dependencies/dlib/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch
:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs
:
# This workflow contains a single job called "build"
build
:
# The type of runner that the job will run on
runs-on
:
ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps
:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
-
uses
:
actions/checkout@v2
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v1
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKER_HUB_USERNAME }}
password
:
${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name
:
Build and push
uses
:
docker/build-push-action@v2
with
:
context
:
./backend/base
platforms
:
linux/amd64,linux/arm64
push
:
true
tags
:
reallibrephotos/dlib-builder:dev
-
name
:
Upload a Build Artifact
uses
:
actions/upload-artifact@v2.3.1
with
:
name
:
dlib
path
:
/tmp/builds/dlib.zip
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment