Skip to content

Commit

Permalink
Merge pull request #17 from elijahr/fix-container-name-collision
Browse files Browse the repository at this point in the history
Fix containerName to prevent clashes
  • Loading branch information
uraimo authored Sep 5, 2020
2 parents bda9eda + f0dc20a commit b17be6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
name: Build on ubuntu-18.04 armv7
steps:
- uses: actions/checkout@v2.1.0
- uses: uraimo/run-on-arch-action@v2.0.0
- uses: uraimo/run-on-arch-action@v2.0.1
name: Run commands
id: runcmd
with:
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
steps:
- uses: actions/checkout@v2.1.0
- uses: uraimo/run-on-arch-action@v2.0.0
- uses: uraimo/run-on-arch-action@v2.0.1
name: Build artifact
id: build
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "run-on-arch",
"version": "2.0.0",
"version": "2.0.1",
"description": "Multi architecture support for GitHub Actions",
"author": "Umberto Raimondi, Elijah Shaw-Rutschman",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion src/run-on-arch.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async function main() {
}

// Generate a container name slug unique to this arch/distro combo
const containerName = `run-on-arch-${slug(arch)}-${slug(distro)}`;
const containerName = `run-on-arch-${slug(env.GITHUB_REPOSITORY)}-${slug(arch)}-${slug(distro)}`;

console.log('Configuring Docker for multi-architecture support')
await exec(
Expand Down

0 comments on commit b17be6e

Please sign in to comment.