Skip to content

Commit

Permalink
Merge branch 'staging' of github.com:wikirate/wikirateproject into st…
Browse files Browse the repository at this point in the history
…aging
  • Loading branch information
ethn committed Feb 4, 2025
2 parents 448248f + 6c476bb commit 579aae6
Show file tree
Hide file tree
Showing 10 changed files with 424 additions and 373 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and publish Docker image

on:
push:
branches: [ main, staging ]

jobs:
build-and-push-image:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2

- name: Log in to the Container registry
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value={{sha}}
- name: Build and push Docker image
uses: docker/build-push-action@v6.9.0
with:
push: true
file: vendor/decko/docker/repos/decko-k8s.dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
[submodule "card-mods"]
path = vendor/card-mods
url = https://github.com/decko-commons/card-mods.git
[submodule "vendor/decko-cap"]
path = vendor/decko-cap
url = https://github.com/decko-commons/decko-cap
[submodule "mod/wikirate_project/vendor/slick"]
path = mod/wikirate_project/vendor/slick
url = https://github.com/kenwheeler/slick.git
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ end
path "./vendor/card-mods" do
gem "card-mod-social"
gem "card-mod-filter"
gem "card-mod-new_relic"
gem "card-mod-thumbnail"
gem "card-mod-google_analytics"
end
Expand All @@ -31,8 +32,6 @@ group :development do
gem "card-mod-platypus"
gem "card-mod-monkey"
end

gem "decko-cap", path: "./vendor/decko-cap"
end

group :production do
Expand Down
Loading

0 comments on commit 579aae6

Please sign in to comment.