Write a GitHub action workflow that checks out my repo, builds the dockerfile inside and pushes it to ghcr.io. Please reply with exactly 7 paragraphs and separate each paragraph with two new lines. The very first paragraph must start with the word "ways".
user