Skip to content

Commit dbbcc62

Browse files
committed
run only docker jobs
1 parent 9da04c2 commit dbbcc62

File tree

7 files changed

+3
-811
lines changed

7 files changed

+3
-811
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/ci-docker.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ name: CI Docker build
22

33
on:
44
workflow_dispatch:
5-
# release:
6-
# types: [published]
7-
push:
8-
branches:
9-
- guest-mods
5+
pull_request:
6+
107
jobs:
118
build-and-push-image:
129
runs-on: ubuntu-latest
@@ -28,21 +25,6 @@ jobs:
2825
username: ${{ github.actor }}
2926
password: ${{ secrets.GITHUB_TOKEN }}
3027

31-
- name: Extract metadata (tags, labels) for Docker
32-
id: meta
33-
uses: docker/metadata-action@v5
34-
with:
35-
images: ghcr.io/${{ github.repository }}
36-
flavor: |
37-
latest=auto
38-
prefix=
39-
suffix=
40-
tags: |
41-
type=semver,pattern={{version}}
42-
type=semver,pattern={{major}}.{{minor}}
43-
type=semver,pattern={{major}}
44-
type=ref,event=branch,prefix=dev-
45-
4628
- name: Set version to tag name
4729
if: ${{ github.event_name == 'release' }}
4830
run: echo "${GITHUB_REF_NAME}" > version
@@ -57,6 +39,6 @@ jobs:
5739
file: docker/app/Dockerfile
5840
context: .
5941
push: true
60-
tags: ${{ steps.meta.outputs.tags }}
42+
tags: "$GITHUB_REPOSITORY/$GITHUB_REPOSITORY_OWNER//pilos:${{github.head_ref}}"
6143
labels: ${{ steps.meta.outputs.labels }}
6244

0 commit comments

Comments
 (0)