Skip to content

indimail-src:archlinux container image #21

indimail-src:archlinux container image

indimail-src:archlinux container image #21

Workflow file for this run

name: indimail-src:archlinux container image
on:
push:
paths:
- '**/indimail-src/archlinux.src'
- .github/workflows/src-archlinux.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/archlinux.src Dockerfile
docker build --tag docker.io/cprogrammer/indimail-src:archlinux .
docker push docker.io/cprogrammer/indimail-src:archlinux