Skip to content

Commit

Permalink
fix - adjust docker permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
chaddyc committed Jan 1, 2025
1 parent 081c781 commit 2aef277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- main
- fix/adjust-docker-permissions

jobs:
docker-build:
Expand All @@ -30,21 +31,21 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push ubuntu 22.04
- name: Build and push ubuntu Jammy [22.04LTS]
uses: docker/build-push-action@v6
with:
file: Dockerfile
platforms: linux/amd64,linux/arm64
build-arg: UBUNTU_VERSION=22.04
build-arg: UBUNTU_VERSION=jammy
push: true
tags: chaddyc/${{ github.event.repository.name }}:22.04

- name: Build and push ubuntu 24.04
- name: Build and push ubuntu noble [24.04LTS]
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
build-arg: UBUNTU_VERSION=24.04
build-arg: UBUNTU_VERSION=noble
push: true
tags: chaddyc/${{ github.event.repository.name }}:24.04

Expand All @@ -53,7 +54,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
build-arg: UBUNTU_VERSION=latest
build-arg: UBUNTU_VERSION=noble
push: true
tags: chaddyc/${{ github.event.repository.name }}:latest

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG UBUNTU_VERSION=20.04
ARG UBUNTU_VERSION=focal
FROM ubuntu:${UBUNTU_VERSION}
LABEL org.opencontainers.image.authors="https://github.com/chaddyc"

Expand Down

0 comments on commit 2aef277

Please sign in to comment.