added documentation & relavent screenshots #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish container images to ghcr | |
on: | |
push | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build & Push image | |
run: | | |
docker login --username rdev2021 --password ${{ secrets.GH_PAT }} ghcr.io | |
docker build . --platform linux/amd64 --tag ghcr.io/rdev2021/network-test:latest | |
docker push ghcr.io/rdev2021/network-test:latest |