Skip to content

Commit

Permalink
fix: move GitHub Actions workflow directory (#2)
Browse files Browse the repository at this point in the history
Moves the GitHub Actions workflow directory up a level to the appropriate location.
  • Loading branch information
jwbennet authored Jan 27, 2024
1 parent 1fceb55 commit fd9909c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/devcontainer-build-and-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Dev Container Build and Push Image

on:
workflow_dispatch:
push:
branches:
- "main"
tags:
- "v*.*.*"
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/ci@v0.2
with:
subFolder: .github
imageName: ghcr.io/${{ github.repository }}
cacheFrom: ghcr.io/${{ github.repository }}
push: always

0 comments on commit fd9909c

Please sign in to comment.