Skip to content

Conversation

@creachadair
Copy link
Contributor

@creachadair creachadair commented Nov 8, 2021

Note to reviewers: Because the tests use the existing image, and we do not have local credentials to manually push a new one, this PR temporarily disables the test cases to get a new image built. I will revert that change after the image updates.

In #195 I updated the Go version, and also swapped from Debian to Alpine for
the base image. This was OK for the build, but it turns out we also use the
same image to run golangci-lint. That action uses a binary for a different
architecture, which fails on this image.

So:

  • Keep the Go version, but revert the base image.
  • Split image layers to make rebuilds faster.
  • Add version labels as arguments.
  • Add some documentation to the workflow configs.

In #195 I updated the Go version, and also swapped from Debian to Alpine for
the base image. This was OK for the build, but it turns out we also use the
same image to run golangci-lint. That action uses a binary for a different
architecture, which fails on this image.

So:
- Keep the Go version, but revert the base image.
- Split image layers to make rebuilds faster.
- Add version labels as arguments.
- Add some documentation to the workflow configs.
@creachadair creachadair merged commit d652058 into master Nov 8, 2021
@creachadair creachadair deleted the mjf/build-image-2 branch November 8, 2021 22:23
creachadair pushed a commit that referenced this pull request Nov 9, 2021
In #195 I updated the Go version, and also swapped from Debian to Alpine for
the base image. This was OK for the build, but it turns out we also use the
same image to run golangci-lint. That action uses a binary for a different
architecture, which fails on this image.

So:
- Keep the Go version, but revert the base image.
- Split image layers to make rebuilds faster.
- Add version labels as arguments.
- Add some documentation to the workflow configs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants