Skip to content

Enabled rest of archs #122

Enabled rest of archs

Enabled rest of archs #122

Workflow file for this run

name: Continuous integration
on:
push:
# Sequence of patterns matched against refs/heads
branches: [master]
jobs:
test:
# needs: lint
name: Test code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout submodules
shell: bash
run: |
# If your submodules are configured to use SSH instead of HTTPS please uncomment the following line
# git config --global url."https://github.com/".insteadOf "git@github.com:"
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Build image
run: |
sed -i "s/dev/latest/g" pgadmin4/config.yaml
sed -i "s/imageaftercd/image/g" pgadmin4/config.yaml
docker run --rm --privileged \
-v ~/.docker:/root/.docker \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$(pwd)":/data homeassistant/amd64-builder \
--addon \
--target pgadmin4 --all \
--docker-user ${{ secrets.DOCKER_USERNAME }} \
--docker-password ${{ secrets.DOCKER_PASSWORD }}
--cache-tag cache
update_release_draft:
name: Release Drafter
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}