GitHub actions (#118)

* chore: change tags to build

* docs: remove not needed arm instructions
This commit is contained in:
Miguel Ribeiro 2024-02-17 10:33:37 +01:00 committed by GitHub
parent dd02eca330
commit 03b175d175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 14 deletions

View File

@ -15,7 +15,7 @@ env:
REGISTRY: docker.io
REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
IMAGE_NAME: bellamy/wallos
IMAGE_NAME: ${{ vars.DOCKERHUB_TAG }}
# For release-please, see available types at https://github.com/google-github-actions/release-please-action/tree/v4/?tab=readme-ov-file#release-types-supported
PROJECT_TYPE: simple
jobs:
@ -44,11 +44,10 @@ jobs:
tags=""
if [[ "$is_release" = 'true' ]]; then
tags="type=semver,pattern={{version}},value=$version
type=semver,pattern={{major}},value=$version
type=semver,pattern={{major}}.{{minor}},value=$version"
type=ref,event=branch,value=main"
else
tags="type=ref,event=branch
type=ref,event=pr"
type=ref,event=pr"
fi
{
echo 'tags<<EOF'

View File

@ -93,16 +93,6 @@ docker run -d --name wallos -v /path/to/config/wallos/db:/var/www/html/db \
bellamy/wallos:latest
```
For ARM processors you need to use the tag main
```bash
docker run -d --name wallos -v /path/to/config/wallos/db:/var/www/html/db \
-v /path/to/config/wallos/logos:/var/www/html/images/uploads/logos \
-e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \
bellamy/wallos:main
```
### Docker Compose
```