diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml deleted file mode 100644 index e3143a7..0000000 --- a/.gitea/workflows/docker.yaml +++ /dev/null @@ -1,85 +0,0 @@ -name: archlinux - -on: - push: - branches: - - main - - master - schedule: - - cron: '0 2 * * 1' - -jobs: - build-and-push: - runs-on: act_runner - container: - image: catthehacker/ubuntu:act-latest - env: - RUNNER_TOOL_CACHE: /toolcache - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Get Meta - id: meta - run: | - echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT - echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT - - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - password: ${{ secrets.DOCKER_TOKEN }} - username: ${{ secrets.DOCKER_USERNAME }} - registry: docker.io - - - name: Build and push - uses: docker/build-push-action@v4 - with: - context: . - file: ./Dockerfile - platforms: | - linux/amd64 - linux/arm64 - push: true - provenance: false - build-args: | - IMAGE_NAME=archlinux - IMAGE_VERSION=latest - IMAGE_REPO=casjaysdev/archlinux - PHP_SERVER=archlinux - BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }} - BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }} - PULL_URL=ghcr.io/dockersrc/archlinux - DISTRO_VERSION=base - CONTAINER_VERSION=USE_DATE - TIMEZONE=America/New_York - LANGUAGE=en_US.UTF-8 - PHP_VERSION=system - NODE_VERSION=system - NODE_MANAGER=system - SERVICE_PORT= - EXPOSE_PORTS= - WWW_ROOT_DIR=/usr/local/share/httpd/default - DEFAULT_FILE_DIR=/usr/local/share/template-files - DEFAULT_DATA_DIR=/usr/local/share/template-files/data - DEFAULT_CONF_DIR=/usr/local/share/template-files/config - DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults - annotations: | - org.opencontainers.image.title=casjaysdev/archlinux - org.opencontainers.image.description=Containerized version of casjaysdev/archlinux - org.opencontainers.image.vendor=CasjaysDev - org.opencontainers.image.authors=CasjaysDev - org.opencontainers.image.url=https://github.com/${{ github.repository }} - org.opencontainers.image.source=https://github.com/${{ github.repository }} - org.opencontainers.image.version=latest - org.opencontainers.image.revision=${{ github.sha }} - org.opencontainers.image.created=${{ github.event.head_commit.timestamp }} - tags: | - docker.io/casjaysdev/archlinux:latest - docker.io/casjaysdev/archlinux:${{ steps.meta.outputs.DATE_TAG }} diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml deleted file mode 100644 index 5b83d1b..0000000 --- a/.gitea/workflows/publish.yaml +++ /dev/null @@ -1,63 +0,0 @@ -name: archlinux-base - -on: - push: - branches: - - main - - master - schedule: - - cron: '0 2 2 * *' - -jobs: - build-and-push: - runs-on: act_runner - container: - image: catthehacker/ubuntu:act-latest - env: - RUNNER_TOOL_CACHE: /toolcache - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Get Meta - id: meta - run: | - echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT - echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT - - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - password: ${{ secrets.DOCKER_TOKEN }} - username: ${{ secrets.DOCKER_USERNAME }} - registry: docker.io - - - name: Build and push - uses: docker/build-push-action@v4 - with: - context: . - file: ./Dockerfile.base - platforms: | - linux/amd64 - linux/arm64 - push: true - provenance: false - annotations: | - org.opencontainers.image.title=casjaysdev/archlinux - org.opencontainers.image.description=Containerized version of casjaysdev/archlinux - org.opencontainers.image.vendor=CasjaysDev - org.opencontainers.image.authors=CasjaysDev - org.opencontainers.image.url=https://github.com/${{ github.repository }} - org.opencontainers.image.source=https://github.com/${{ github.repository }} - org.opencontainers.image.version=latest - org.opencontainers.image.revision=${{ github.sha }} - org.opencontainers.image.created=${{ github.event.head_commit.timestamp }} - tags: | - docker.io/casjaysdev/archlinux:latest - docker.io/casjaysdev/archlinux:${{ steps.meta.outputs.DATE_TAG }} diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml deleted file mode 100644 index cde9371..0000000 --- a/.github/workflows/docker.yaml +++ /dev/null @@ -1,86 +0,0 @@ -name: archlinux - -on: - push: - branches: - - main - - master - pull_request: - schedule: - - cron: '0 2 * * 1' - workflow_dispatch: - -jobs: - build-and-push: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Get Meta - id: meta - run: | - echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT - echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile - platforms: | - linux/amd64 - linux/arm64 - push: ${{ github.event_name != 'pull_request' }} - provenance: false - build-args: | - IMAGE_NAME=archlinux - IMAGE_VERSION=latest - IMAGE_REPO=${{ github.repository }} - PHP_SERVER=archlinux - BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }} - BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }} - PULL_URL=ghcr.io/dockersrc/archlinux - DISTRO_VERSION=base - CONTAINER_VERSION=USE_DATE - TIMEZONE=America/New_York - LANGUAGE=en_US.UTF-8 - PHP_VERSION=system - NODE_VERSION=system - NODE_MANAGER=system - SERVICE_PORT= - EXPOSE_PORTS= - WWW_ROOT_DIR=/usr/local/share/httpd/default - DEFAULT_FILE_DIR=/usr/local/share/template-files - DEFAULT_DATA_DIR=/usr/local/share/template-files/data - DEFAULT_CONF_DIR=/usr/local/share/template-files/config - DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults - annotations: | - org.opencontainers.image.title=${{ github.repository }} - org.opencontainers.image.description=Containerized version of ${{ github.repository }} - org.opencontainers.image.vendor=CasjaysDev - org.opencontainers.image.authors=CasjaysDev - org.opencontainers.image.url=https://github.com/${{ github.repository }} - org.opencontainers.image.source=https://github.com/${{ github.repository }} - org.opencontainers.image.version=latest - org.opencontainers.image.revision=${{ github.sha }} - org.opencontainers.image.created=${{ github.event.head_commit.timestamp }} - tags: | - ghcr.io/${{ github.repository }}:latest - ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.DATE_TAG }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index a9807d6..0000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,63 +0,0 @@ -name: archlinux-base - -on: - push: - branches: - - main - - master - pull_request: - schedule: - - cron: '0 2 * * 1' - workflow_dispatch: - -jobs: - build-and-push: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Get Meta - id: meta - run: | - echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT - echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile.base - platforms: | - linux/amd64 - linux/arm64 - push: ${{ github.event_name != 'pull_request' }} - provenance: false - annotations: | - org.opencontainers.image.title=${{ github.repository }} - org.opencontainers.image.description=Containerized version of ${{ github.repository }} - org.opencontainers.image.vendor=CasjaysDev - org.opencontainers.image.authors=CasjaysDev - org.opencontainers.image.url=https://github.com/${{ github.repository }} - org.opencontainers.image.source=https://github.com/${{ github.repository }} - org.opencontainers.image.version=base - org.opencontainers.image.revision=${{ github.sha }} - org.opencontainers.image.created=${{ github.event.head_commit.timestamp }} - tags: | - ghcr.io/${{ github.repository }}:base