Skip to content

Commit

Permalink
Move docker action to lsst-dm/build-and-push
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Aug 14, 2024
1 parent d98e82d commit 287ef45
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 26 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Build Jenkins swarm client container

Check warning on line 1 in .github/workflows/build.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

1:1 [document-start] missing document start "---"
on:
push:
Expand All @@ -18,32 +17,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ github.ref_name == 'master' }}
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr,suffix=/${{ github.head_ref }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
uses: lsst-dm/build-and-push@main
with:
platforms: linux/amd64,linux/arm64
github_token: ${{ secrets.GITHUB_TOKEN }}
push: true
tags: ${{ steps.meta.outputs.tags }}
build-args: |
JSWARM_UID=48435
JSWARM_GID=202
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Lint Markdown Files

Check warning on line 1 in .github/workflows/markdownlint.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

1:1 [document-start] missing document start "---"

on:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/rebase_checker.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Check that 'main' is not merged into the development branch

Check warning on line 1 in .github/workflows/rebase_checker.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

1:1 [document-start] missing document start "---"

on: pull_request
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Lint YAML Files

Check warning on line 1 in .github/workflows/yamllint.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

1:1 [document-start] missing document start "---"

on:
Expand Down

0 comments on commit 287ef45

Please sign in to comment.