Skip to content

Commit

Permalink
Merge branch 'main' of github.com:uug-ai/facial-access-control
Browse files Browse the repository at this point in the history
  • Loading branch information
KilianBoute committed Jun 24, 2024
2 parents dedaf56 + e7486a5 commit 2021c29
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/docker-image-ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Docker Image UI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

docker:

runs-on: ubuntu-latest

steps:

- name: Checkout code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 7
- name: Build and push
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:ui"
push: true
tags: uugai/facialaccess-frontend:${{ steps.short-sha.outputs.sha }}

0 comments on commit 2021c29

Please sign in to comment.