30 lines
776 B
YAML
Raw Permalink Normal View History

2024-09-19 18:14:46 +00:00
name: Deploy Images to GHCR
2024-06-12 12:56:30 +02:00
2024-09-19 18:14:46 +00:00
on:
push:
branches:
- docker-mod
workflow_dispatch:
2024-06-12 12:56:30 +02:00
2024-06-12 11:48:34 +00:00
permissions:
contents: read
packages: write
2024-06-12 12:56:30 +02:00
jobs:
2024-09-19 18:14:46 +00:00
push-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build Inventory Image'
run: |
docker build --no-cache . --tag ghcr.io/intro-skipper/intro-skipper-docker-mod:latest
docker push ghcr.io/intro-skipper/intro-skipper-docker-mod:latest