Skip to content

Commit

Permalink
πŸ’Ύ Saved.
Browse files Browse the repository at this point in the history
  • Loading branch information
k33g committed Feb 20, 2024
1 parent 6f3783b commit 1f08dce
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 40 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/github-actions-demo.yml

This file was deleted.

21 changes: 7 additions & 14 deletions .github/workflows/github-actions-with-containers.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
name: GitHub Actions With Containers
run-name: ${{ github.actor }} GitHub Actions 🐳
name: Runtimes Install With Containers
run-name: Runtimes Install 🐳
on: [push]
jobs:
Explore-GitHub-Actions:
Install-Go-And-NodeJS:
runs-on: ubuntu-latest
container:
image: philippecharriere494/my-ubuntu-go-nodejs-env:0.0.0
image: philippecharriere494/my-ubuntu-go-nodejs-env:0.0.1
steps:
- run: go version
- run: lsb_release -a
# todo use a go code

Go-Deeper-With-GitHub-Actions:
runs-on: ubuntu-latest
container:
image: philippecharriere494/my-ubuntu-go-nodejs-env:0.0.0
needs: Explore-GitHub-Actions
steps:
- run: echo "πŸ‘‹ hello world 🌍"
- run: node --version
# todo use a javascript code
# todo use a go code
# If I use it for every job, it will be huge

18 changes: 18 additions & 0 deletions .github/workflows/github-actions-with-specialized-containers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Runtimes Install With Specialized Containers
run-name: Runtimes Install πŸ³πŸš€
on: [push]
jobs:
Install-Go:
runs-on: ubuntu-latest
container:
image: golang:1.21.3-bookworm
steps:
- run: go version
# todo use a go code
# If I use it for every job, it will be huge
Install-NodeJS:
runs-on: ubuntu-latest
container:
image: node:21.6.2-slim
steps:
- run: node --version

0 comments on commit 1f08dce

Please sign in to comment.