Docker image to run Packer commands in Azure Pipelines container jobs.
This image can be used to run Packer commands in Azure Pipelines container jobs.
To use the image in an Azure Pipelines Container Job, add one of the following example tasks and use it with the container
property.
The following example shows the container used for a deployment step with a Packer command
- stage: deploy
jobs:
- deployment: buildPacker
container: swissgrc/azure-pipelines-packer:latest
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
packer build .
- swissgrc/azure-pipelines-azurecli:net9 as base image
- Packer
Tag | Description | Size |
---|---|---|
latest | Latest stable release (from main branch) |
|
unstable | Latest unstable release (from develop branch) |
|
x.y.z | Image for a specific version of Packer |