You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: Docker Image CI/CD
-
- on:
- push:
- branches: ["main"]
- paths:
- - "docker/**"
- pull_request:
- paths:
- - "docker/**"
-
- jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - name: "Login to GitHub Container Registry"
- uses: docker/login-action@v1
- with:
- registry: ghcr.io
- username: ${{github.actor}}
- password: ${{secrets.GITHUB_TOKEN}}
-
- - name: Build the Docker image
- run: |
- docker build docker/slim --tag ghcr.io/dora-rs/dora-slim:latest
- docker push ghcr.io/dora-rs/dora-slim:latest
|