From 474716755d67577ee57b1acc466a252517874187 Mon Sep 17 00:00:00 2001 From: David Claeys Date: Wed, 10 Jul 2024 13:05:35 +0200 Subject: [PATCH] add github workflow --- .github/workflows/action.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/action.yml diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 0000000..6583470 --- /dev/null +++ b/.github/workflows/action.yml @@ -0,0 +1,26 @@ +name: 'Build docker container' +on: [push] +jobs: + build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: '${{ github.workspace }}' + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Docker login + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + push: true + tags: | + ghcr.io/davidclaeysquinones/epg-info:latest