Publish maven packages to github maven packages

I have a repository that contains multiple maven projects and I want to publish it to github maven packages. Allready spended hours to try to get it working but without success.
What I am doing wrong?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project rest-parent: Failed to deploy artifacts: Could not find artifact com.github.potjerodekool:rest-parent:pom:1.0 in github (https://maven.pkg.github.com/podjerodekool/openapi) → [Help 1]

Did today another try I got now working.

In settings.xml

<activeProfiles>
    <activeProfile>github</activeProfile>
  </activeProfiles>

  <profiles>
    <profile>
      <id>github</id>
		<repositories>
			<repository>
			  <id>central</id>
			  <url>https://repo1.maven.org/maven2</url>
			</repository>		
			<repository>
			  <id>github-snapshot</id>
			  <url>https://maven.pkg.github.com/potjerodekool/*</url>
			  <snapshots><enabled>false</enabled></snapshots>
			</repository>
			<repository>
			  <id>github-release</id>
			  <url>https://maven.pkg.github.com/potjerodekool/*</url>
			  <releases><enabled>true</enabled></releases>
			</repository>
      </repositories>
      
    </profile>
  </profiles>	

<servers>
		<server>
			<id>github</id>
			<username>user</username>
			<password>mypersonal-token</password>
		</server>
    </servers>