Files
micromdm/.github/workflows/docker.yml
dependabot[bot] 5fcac6b22d November dependabot updates:
Bump google.golang.org/protobuf from 1.30.0 to 1.31.0

Bumps google.golang.org/protobuf from 1.30.0 to 1.31.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump github.com/google/uuid from 1.3.0 to 1.4.0

Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump github.com/jessepeterson/cfgprofiles from 0.3.0 to 0.4.0

Bumps [github.com/jessepeterson/cfgprofiles](https://github.com/jessepeterson/cfgprofiles) from 0.3.0 to 0.4.0.
- [Commits](https://github.com/jessepeterson/cfgprofiles/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/jessepeterson/cfgprofiles
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump github.com/lib/pq from 1.2.0 to 1.10.9

Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.2.0 to 1.10.9.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.2.0...v1.10.9)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump actions/checkout from 4.1.0 to 4.1.1

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 09:50:50 -07:00

34 lines
1.1 KiB
YAML

name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Build and push Docker image
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Set up QEMU for multi-architecture builds
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 #v3.0.0
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Check out this repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Login to Github Packages Container registry with ephemeral token
run: docker login ghcr.io --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }}
- name: Create builder instance
run: docker buildx create --use
- name: Build and push image
run: |
docker buildx build \
--platform linux/amd64,linux/arm,linux/arm64 \
--tag ghcr.io/micromdm/micromdm:latest \
--tag ghcr.io/micromdm/micromdm:${{ github.event.release.tag_name }} \
--push \
.