This commit is contained in:
parent
8a9fca4570
commit
c5f8f22e7f
@ -8,7 +8,7 @@ jobs:
|
|||||||
working-directory: ${{ GITHUB_WORKSPACE }}
|
working-directory: ${{ GITHUB_WORKSPACE }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run: |
|
run: |
|
||||||
echo "Checking docker installation"
|
echo "Checking docker installation"
|
||||||
|
26
.github/workflows/action.yml
vendored
Normal file
26
.github/workflows/action.yml
vendored
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user