Skip to content

Commit

Permalink
3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Nov 3, 2023
1 parent 78723a4 commit 1cdc55c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,32 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
ref: 'devel'

- name: Retrieve motion-UI version
run: |
echo "VERSION=$(cat ${GITHUB_WORKSPACE}/www/version)" >> $GITHUB_ENV
echo "Version: ${{ env.VERSION }}"
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Log in to the container registry
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

# Build the image with '$VERSION' and 'latest' tags
- name: Build the image
run: docker build . --file ./docker/Dockerfile --tag lbr38/motionui:${{ env.VERSION }} --tag lbr38/motionui:latest

- name: Push the image
run: |
docker push lbr38/motionui:${{ env.VERSION }}
docker push lbr38/motionui:latest
# Build the images
- name: Build and push docker
uses: docker/build-push-action@v2
with:
file: ./docker/Dockerfile
push: true
tags: lbr38/motion:latest, lbr38/motion:${{ env.VERSION }}
platforms: linux/amd64,linux/arm64,linux/arm/v7

2 changes: 1 addition & 1 deletion www/public/resources/styles/motionui.css
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ footer #github img { width: 25px; }
.event-media-row {
min-height: 50px;
background-color: #182b3e;
border-radius: 4px;
border-radius: 8px;
border: 1px solid #213446;
margin-bottom: 4px;
}
Expand Down

0 comments on commit 1cdc55c

Please sign in to comment.