updated source dockerfiles #27
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: indimail-src:stream9 container image | |
on: | |
push: | |
paths: | |
- '**/indimail-src/stream9.src' | |
- .github/workflows/src-stream9.yml | |
- '!**.md' | |
workflow_dispatch: | |
jobs: | |
build_and_push: | |
name: build and push container image | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v2 | |
- name: build | |
run: | | |
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin | |
echo "${{ secrets.DOCKER_PAT }}" | docker login docker.io --username cprogrammer --password-stdin | |
cp indimail-src/stream9.src Dockerfile | |
docker build --tag docker.io/cprogrammer/indimail-src:stream9 . | |
docker push docker.io/cprogrammer/indimail-src:stream9 |