-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.craft.yml
More file actions
33 lines (33 loc) · 966 Bytes
/
.craft.yml
File metadata and controls
33 lines (33 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
minVersion: '2.21.1'
changelog:
policy: auto
versioning:
policy: auto
# Custom version bump — bypasses craft's built-in npm-based auto-bumping.
# See scripts/bump-version.sh for details.
preReleaseCommand: bash scripts/bump-version.sh
artifactProvider:
name: github
config:
artifacts:
CI: npm-tarball
targets:
# Publish the opentower package to npm.
- name: npm
access: public
oidc: true
includeNames: /^opentower-\d.*\.tgz$/
# Re-tag the Docker image (built+pushed earlier in the workflow) with
# the release version. The source image is tagged with the git SHA;
# craft copies it to the versioned tag and :latest.
- name: docker
id: versioned
source: ghcr.io/mathuraditya724/outpost
target: ghcr.io/mathuraditya724/outpost
- name: docker
id: latest
source: ghcr.io/mathuraditya724/outpost
target:
image: ghcr.io/mathuraditya724/outpost
format: "{{{image}}}:latest"
- name: github