Skip to content

Commit

Permalink
Combine actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bzvestey committed May 25, 2024
1 parent 9c73513 commit 58287f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 105 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/bundev.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
name: godev-container-building
name: container-building
on:
workflow_dispatch:
inputs:
container:
description: 'The container to buld'
required: true
type: choice
options:
- bundev
- godev
- nodedev
version:
description: 'The version of Go to build on top of'
required: true
Expand Down Expand Up @@ -34,18 +42,17 @@ jobs:
id: meta
uses: docker/metadata-action@v3
with:
images: ghcr.io/bzvestey/godev
images: ghcr.io/bzvestey/${{ inputs.container }}
tags: |
${{ env.VERSION }}${{ env.OS }}
latest
- name: 'Build and Push the container.'
uses: docker/build-push-action@v2
with:
context: ./godev
context: ./${{ inputs.container }}
push: true
tags: ${{ steps.meta.outputs.tags }}
build-args: |
version=${{ env.VERSION }}
os=${{ env.OS }}
51 changes: 0 additions & 51 deletions .github/workflows/nodedev.yaml

This file was deleted.

0 comments on commit 58287f2

Please sign in to comment.