Skip to content

Commit 45fb179

Browse files
authored
Merge pull request #1 from CCPBioSim/migration-changes
Migration changes
2 parents b5ac631 + d423b7b commit 45fb179

3 files changed

Lines changed: 24 additions & 6 deletions

File tree

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
# Check for updates to GitHub Actions every day
12+
interval: "daily"
13+
time: "09:00"
14+
timezone: "UTC"
15+
assignees:
16+
- "jimboid"

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
id: meta
3333
uses: docker/metadata-action@v5.8.0
3434
with:
35-
images: ghcr.io/${{ github.repository }}
35+
images: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}
3636

3737
- name: Authenticate with GHCR
3838
id: auth
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
platforms: ${{ matrix.platform }}
5454
labels: ${{ steps.meta.outputs.labels }}
55-
tags: ghcr.io/${{ github.repository }}
55+
tags: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}
5656
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
5757

5858
- name: Export digest
@@ -97,7 +97,7 @@ jobs:
9797
id: meta
9898
uses: docker/metadata-action@v5.8.0
9999
with:
100-
images: ghcr.io/${{ github.repository }}
100+
images: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}
101101
tags: |
102102
latest
103103
${{ needs.build.outputs.tag }}
@@ -113,18 +113,18 @@ jobs:
113113
--annotation='index:org.opencontainers.image.created=${{ steps.timestamp.outputs.timestamp }}' \
114114
--annotation='index:org.opencontainers.image.url=${{ github.event.repository.url }}' \
115115
--annotation='index:org.opencontainers.image.source=${{ github.event.repository.url }}' \
116-
$(printf 'ghcr.io/${{ github.repository }}@sha256:%s ' *)
116+
$(printf 'ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}@sha256:%s ' *)
117117
118118
- name: Create manifest list and push without annotations
119119
if: steps.annotate.outcome == 'failure'
120120
working-directory: ${{ runner.temp }}/digests
121121
run: |
122122
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
123-
$(printf 'ghcr.io/${{ github.repository }}@sha256:%s ' *)
123+
$(printf 'ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}@sha256:%s ' *)
124124
125125
- name: Inspect image
126126
run: |
127-
docker buildx imagetools inspect ghcr.io/${{ github.repository }}:${{ needs.build.outputs.tag }}
127+
docker buildx imagetools inspect ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}:${{ needs.build.outputs.tag }}
128128
129129
- name: Post version update to dash
130130
uses: peter-evans/repository-dispatch@v3.0.0

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# biosim-uglymol
2+
[![ci/cd](https://github.com/CCPBioSim/structure-validation-uglymol/actions/workflows/build.yaml/badge.svg)](https://github.com/CCPBioSim/structure-validation-uglymol/actions/workflows/build.yaml)
3+
24
A repo to handle the build pipeline for an uglymol instance.

0 commit comments

Comments
 (0)