remove deprecated access routes #23
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 Docker image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Log in to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build Docker image | |
run: | | |
repo_name=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') | |
docker build -t ghcr.io/${repo_name}/dvb-i-tools:latest . | |
- name: Push Docker image to GitHub Container Registry | |
run: | | |
repo_name=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') | |
docker push ghcr.io/${repo_name}/dvb-i-tools:latest |