From c5f8f22e7f84c01d960cd5b69da28ea9c1fb58c5 Mon Sep 17 00:00:00 2001 From: David Claeys Date: Fri, 17 May 2024 13:08:32 +0200 Subject: [PATCH] update actions --- .gitea/workflows/action.yml | 2 +- .github/workflows/action.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/action.yml diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 5cdf44f..a109249 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -8,7 +8,7 @@ jobs: working-directory: ${{ GITHUB_WORKSPACE }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Docker run: | echo "Checking docker installation" diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 0000000..6fb6b5d --- /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: 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: | + telebilbao-epg:latest